Class: ODDB::State::Ajax::DDDPrice

Inherits:
Global show all
Defined in:
src/state/ajax/ddd_price.rb

Constant Summary

VIEW =
View::Ajax::DDDPrice

Constants inherited from Global

VOLATILE

Instance Method Summary (collapse)

Methods inherited from Global

#limited?

Instance Method Details

- (Object) init



12
13
14
15
16
17
18
19
20
# File 'src/state/ajax/ddd_price.rb', line 12

def init
  super
  if((pointer = @session.user_input(:pointer)) \
     && pointer.is_a?(Persistence::Pointer))
    @model = pointer.resolve(@session.app)
  else
    @model = nil
  end
end