Class: Textus::Background::Plan
- Inherits:
-
Data
- Object
- Data
- Textus::Background::Plan
- Defined in:
- lib/textus/background/plan.rb
Instance Attribute Summary collapse
-
#steps ⇒ Object
readonly
Returns the value of attribute steps.
-
#warnings ⇒ Object
readonly
Returns the value of attribute warnings.
Instance Method Summary collapse
Instance Attribute Details
#steps ⇒ Object (readonly)
Returns the value of attribute steps
3 4 5 |
# File 'lib/textus/background/plan.rb', line 3 def steps @steps end |
#warnings ⇒ Object (readonly)
Returns the value of attribute warnings
3 4 5 |
# File 'lib/textus/background/plan.rb', line 3 def warnings @warnings end |
Instance Method Details
#to_h ⇒ Object
4 5 6 |
# File 'lib/textus/background/plan.rb', line 4 def to_h { "steps" => steps, "warnings" => warnings } end |