Class: OhSnap::Configuration

Inherits:
Struct
  • Object
show all
Defined in:
lib/oh_snap.rb

Overview

Configuration class for OhSnap.

Instance Attribute Summary collapse

Instance Attribute Details

#serializerObject

Returns the value of attribute serializer

Returns:

  • (Object)

    the current value of serializer



9
10
11
# File 'lib/oh_snap.rb', line 9

def serializer
  @serializer
end

#snapshots_dirnameObject

Returns the value of attribute snapshots_dirname

Returns:

  • (Object)

    the current value of snapshots_dirname



9
10
11
# File 'lib/oh_snap.rb', line 9

def snapshots_dirname
  @snapshots_dirname
end

#writableObject Also known as: writable?

Returns the value of attribute writable

Returns:

  • (Object)

    the current value of writable



9
10
11
# File 'lib/oh_snap.rb', line 9

def writable
  @writable
end