Sha256: 2e4332acce886e7ae4c22e216ca1c4ecb4f1e52272632994053bd564f3294476

Contents?: true

Size: 204 Bytes

Versions: 4

Compression:

Stored size: 204 Bytes

Contents

module BigMachine
  module TransitionMethods
    extend Forwardable

    def self.included(base)
      def_delegators :current_state, *base.initial_state_class.transition_methods
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
big_machine-1.1.1 lib/big_machine/transition_methods.rb
big_machine-1.1.0 lib/big_machine/transition_methods.rb
big_machine-1.0.1 lib/big_machine/transition_methods.rb
big_machine-1.0.0 lib/big_machine/transition_methods.rb