Class: Textus::Background::Plan

Inherits:
Data
  • Object
show all
Defined in:
lib/textus/background/plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#stepsObject (readonly)

Returns the value of attribute steps

Returns:

  • (Object)

    the current value of steps



3
4
5
# File 'lib/textus/background/plan.rb', line 3

def steps
  @steps
end

#warningsObject (readonly)

Returns the value of attribute warnings

Returns:

  • (Object)

    the current value of warnings



3
4
5
# File 'lib/textus/background/plan.rb', line 3

def warnings
  @warnings
end

Instance Method Details

#to_hObject



4
5
6
# File 'lib/textus/background/plan.rb', line 4

def to_h
  { "steps" => steps, "warnings" => warnings }
end