Sha256: e1109682fed6188595acbf339294ba53fecd856df4fcbb0ce741b2afb1830d61

Contents?: true

Size: 269 Bytes

Versions: 6

Compression:

Stored size: 269 Bytes

Contents

module  Tamashii
  class Handler
    attr_reader :type, :env
    def initialize(type, env = {})
      @type = type
      @env = env
    end

    def resolve(data = nil)
      raise NotImplementedError.new("The resolve method should be implemented.")
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tamashii-common-0.2.0 lib/tamashii/handler.rb
tamashii-common-0.1.6 lib/tamashii/handler.rb
tamashii-common-0.1.5 lib/tamashii/handler.rb
tamashii-common-0.1.4 lib/tamashii/handler.rb
tamashii-common-0.1.3 lib/tamashii/handler.rb
tamashii-common-0.1.2 lib/tamashii/handler.rb