Class: Rugl::Dynamic::Base
- Inherits:
-
Object
- Object
- Rugl::Dynamic::Base
- Defined in:
- lib/rugl/dynamic.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(name) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/rugl/dynamic.rb', line 8 def initialize(name) @name = normalize_name(name) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/rugl/dynamic.rb', line 6 def name @name end |