Class: CamelSnakeStruct::Type__Meta__Data

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#arrayObject

Returns the value of attribute array

Returns:

  • (Object)

    the current value of array



12
13
14
# File 'lib/camel_snake_struct.rb', line 12

def array
  @array
end

#class_typesObject

Returns the value of attribute class_types

Returns:

  • (Object)

    the current value of class_types



12
13
14
# File 'lib/camel_snake_struct.rb', line 12

def class_types
  @class_types
end

Instance Method Details

#classesObject



13
14
15
# File 'lib/camel_snake_struct.rb', line 13

def classes
  class_types.to_a
end