module Pakyow::Support::Definable::Initializer

Public Class Methods

new(*) click to toggle source
Calls superclass method
# File lib/pakyow/support/definable.rb, line 164
def initialize(*)
  # Create mutable state for this instance based on global.
  #
  @__state = self.class.__state.each_with_object({}) { |(name, global_state), state|
    state[name] = State.new(name, global_state.object)
  }

  super
end