Class: UCD::Node::Field
- Defined in:
- lib/ucd/node/field.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#access ⇒ Object
Returns the value of attribute access.
-
#static ⇒ Object
Returns the value of attribute static.
Attributes included from HasType
Attributes included from HasName
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Field
constructor
A new instance of Field.
Methods included from HasAttributes
Constructor Details
#initialize(attributes = {}) ⇒ Field
Returns a new instance of Field.
12 13 14 15 16 |
# File 'lib/ucd/node/field.rb', line 12 def initialize(attributes={}) @access = "public" super end |
Instance Attribute Details
#access ⇒ Object
Returns the value of attribute access.
24 25 26 |
# File 'lib/ucd/node/field.rb', line 24 def access @access end |
#static ⇒ Object
Returns the value of attribute static.
18 19 20 |
# File 'lib/ucd/node/field.rb', line 18 def static @static end |