Class: Vulcano::ParsedClass
- Inherits:
-
Object
- Object
- Vulcano::ParsedClass
- Defined in:
- lib/vulcano/parsed_class.rb
Instance Attribute Summary collapse
-
#is_public ⇒ Object
readonly
Returns the value of attribute is_public.
-
#is_struct ⇒ Object
readonly
Returns the value of attribute is_struct.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#variables ⇒ Object
readonly
Returns the value of attribute variables.
Instance Method Summary collapse
- #class_binding ⇒ Object
-
#initialize(name, variables, is_public, is_struct) ⇒ ParsedClass
constructor
A new instance of ParsedClass.
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_public ⇒ Object (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_struct ⇒ Object (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 |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/vulcano/parsed_class.rb', line 5 def name @name end |
#variables ⇒ Object (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_binding ⇒ Object
19 20 21 |
# File 'lib/vulcano/parsed_class.rb', line 19 def class_binding binding end |