Class: Motley::AttDef
- Inherits:
-
Object
- Object
- Motley::AttDef
- Defined in:
- lib/motley.rb
Overview
Motley::AttDef
Defined Under Namespace
Instance Attribute Summary collapse
-
#set_once ⇒ Object
Returns the value of attribute set_once.
Instance Method Summary collapse
-
#initialize ⇒ AttDef
constructor
————————————————————————— initialize.
-
#to_str ⇒ Object
————————————————————————— to_str.
Constructor Details
#initialize ⇒ AttDef
initialize
111 112 113 |
# File 'lib/motley.rb', line 111 def initialize @set_once = false end |
Instance Attribute Details
#set_once ⇒ Object
Returns the value of attribute set_once.
106 107 108 |
# File 'lib/motley.rb', line 106 def set_once @set_once end |
Instance Method Details
#to_str ⇒ Object
to_str
122 123 124 |
# File 'lib/motley.rb', line 122 def to_str raise 'zax/attdef/default/override-to-s' end |