Exception: Formstack::FormstackError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/formstack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ FormstackError

Returns a new instance of FormstackError.



16
17
18
19
# File 'lib/formstack.rb', line 16

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



14
15
16
# File 'lib/formstack.rb', line 14

def data
  @data
end