Class: Vulcano::ParsedClass

Inherits:
Object
  • Object
show all
Defined in:
lib/vulcano/parsed_class.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, variables, is_public, is_struct) ⇒ ParsedClass

Returns a new instance of ParsedClass.



11
12
13
14
15
16
17
# File 'lib/vulcano/parsed_class.rb', line 11

def initialize(name, variables, is_public, is_struct)
  @is_public = is_public
  @name = name
  @variables = variables
  @codable_keys = codable_keys
  @is_struct = is_struct
end

Instance Attribute Details

#is_publicObject (readonly)

Returns the value of attribute is_public.



8
9
10
# File 'lib/vulcano/parsed_class.rb', line 8

def is_public
  @is_public
end

#is_structObject (readonly)

Returns the value of attribute is_struct.



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

def is_struct
  @is_struct
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/vulcano/parsed_class.rb', line 5

def name
  @name
end

#variablesObject (readonly)

Returns the value of attribute variables.



6
7
8
# File 'lib/vulcano/parsed_class.rb', line 6

def variables
  @variables
end

Instance Method Details

#class_bindingObject



19
20
21
# File 'lib/vulcano/parsed_class.rb', line 19

def class_binding
  binding
end