Class: Scaffolder::Test::Unresolved
- Inherits:
-
Object
- Object
- Scaffolder::Test::Unresolved
- Defined in:
- lib/scaffolder/test/unresolved.rb
Instance Attribute Summary collapse
-
#length ⇒ Object
readonly
Returns the value of attribute length.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Unresolved
constructor
A new instance of Unresolved.
- #to_hash ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Unresolved
Returns a new instance of Unresolved.
8 9 10 |
# File 'lib/scaffolder/test/unresolved.rb', line 8 def initialize( = {}) @length = [:length] end |
Instance Attribute Details
#length ⇒ Object (readonly)
Returns the value of attribute length.
6 7 8 |
# File 'lib/scaffolder/test/unresolved.rb', line 6 def length @length end |
Instance Method Details
#to_hash ⇒ Object
12 13 14 |
# File 'lib/scaffolder/test/unresolved.rb', line 12 def to_hash {'unresolved' => {'length' => length}} end |