Class: Wizardz::WizardObject
- Inherits:
-
Object
- Object
- Wizardz::WizardObject
- Defined in:
- lib/wizardz/wizard_object.rb
Instance Attribute Summary collapse
-
#page_data ⇒ Object
readonly
Returns the value of attribute page_data.
Instance Method Summary collapse
-
#initialize(page_data) ⇒ WizardObject
constructor
A new instance of WizardObject.
- #valid? ⇒ Boolean
Constructor Details
#initialize(page_data) ⇒ WizardObject
Returns a new instance of WizardObject.
4 5 6 |
# File 'lib/wizardz/wizard_object.rb', line 4 def initialize(page_data) @page_data = page_data end |
Instance Attribute Details
#page_data ⇒ Object (readonly)
Returns the value of attribute page_data.
2 3 4 |
# File 'lib/wizardz/wizard_object.rb', line 2 def page_data @page_data end |
Instance Method Details
#valid? ⇒ Boolean
8 9 10 |
# File 'lib/wizardz/wizard_object.rb', line 8 def valid? true end |