Class: Manioc::Struct::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/manioc/struct.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#defaultsObject

Returns the value of attribute defaults.



26
27
28
# File 'lib/manioc/struct.rb', line 26

def defaults
  @defaults
end

#fieldsObject

Returns the value of attribute fields.



26
27
28
# File 'lib/manioc/struct.rb', line 26

def fields
  @fields
end

#mutableObject

Returns the value of attribute mutable.



26
27
28
# File 'lib/manioc/struct.rb', line 26

def mutable
  @mutable
end

Instance Method Details

#immutable?Boolean

Returns:

  • (Boolean)


29
# File 'lib/manioc/struct.rb', line 29

def immutable?; !mutable? end

#mutable?Boolean

Returns:

  • (Boolean)


28
# File 'lib/manioc/struct.rb', line 28

def mutable?;     mutable end