Class: AskAwesomely::Field::Statement
- Defined in:
- lib/ask_awesomely/field/statement.rb
Constant Summary
Constants inherited from Field
Instance Attribute Summary
Attributes inherited from Field
Instance Method Summary collapse
- #button_text(text) ⇒ Object
-
#initialize ⇒ Statement
constructor
A new instance of Statement.
- #no_quotation_marks ⇒ Object
Methods inherited from Field
#ask, #description, of_type, #ref, #required, #skip, #tags
Methods included from JsonBuilder
Constructor Details
#initialize ⇒ Statement
Returns a new instance of Statement.
4 5 6 |
# File 'lib/ask_awesomely/field/statement.rb', line 4 def initialize(*) super end |
Instance Method Details
#button_text(text) ⇒ Object
12 13 14 |
# File 'lib/ask_awesomely/field/statement.rb', line 12 def (text) @state. = text end |
#no_quotation_marks ⇒ Object
8 9 10 |
# File 'lib/ask_awesomely/field/statement.rb', line 8 def no_quotation_marks @state.hide_marks = true end |