Class: Smartdown::Parser::InputSet
- Inherits:
-
Object
- Object
- Smartdown::Parser::InputSet
- Defined in:
- lib/smartdown/parser/input_set.rb
Instance Attribute Summary collapse
-
#coversheet ⇒ Object
readonly
Returns the value of attribute coversheet.
-
#outcomes ⇒ Object
readonly
Returns the value of attribute outcomes.
-
#questions ⇒ Object
readonly
Returns the value of attribute questions.
-
#scenario_sets ⇒ Object
readonly
Returns the value of attribute scenario_sets.
-
#snippets ⇒ Object
readonly
Returns the value of attribute snippets.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ InputSet
constructor
A new instance of InputSet.
Constructor Details
#initialize(params = {}) ⇒ InputSet
Returns a new instance of InputSet.
6 7 8 9 10 11 12 |
# File 'lib/smartdown/parser/input_set.rb', line 6 def initialize(params = {}) @coversheet = params[:coversheet] @questions = params[:questions] @outcomes = params[:outcomes] @snippets = params[:snippets] @scenario_sets = params[:scenario_sets] end |
Instance Attribute Details
#coversheet ⇒ Object (readonly)
Returns the value of attribute coversheet.
4 5 6 |
# File 'lib/smartdown/parser/input_set.rb', line 4 def coversheet @coversheet end |
#outcomes ⇒ Object (readonly)
Returns the value of attribute outcomes.
4 5 6 |
# File 'lib/smartdown/parser/input_set.rb', line 4 def outcomes @outcomes end |
#questions ⇒ Object (readonly)
Returns the value of attribute questions.
4 5 6 |
# File 'lib/smartdown/parser/input_set.rb', line 4 def questions @questions end |
#scenario_sets ⇒ Object (readonly)
Returns the value of attribute scenario_sets.
4 5 6 |
# File 'lib/smartdown/parser/input_set.rb', line 4 def scenario_sets @scenario_sets end |
#snippets ⇒ Object (readonly)
Returns the value of attribute snippets.
4 5 6 |
# File 'lib/smartdown/parser/input_set.rb', line 4 def snippets @snippets end |