Sha256: 0453e0cd5979cf369e5ff40a88cc4445f8b0d7cc63c0b48b52440227847cf803

Contents?: true

Size: 319 Bytes

Versions: 18

Compression:

Stored size: 319 Bytes

Contents

module Etherlite::Contract
  class FunctionInput
    attr_reader :original_name, :type

    def initialize(_original_name, _type)
      @original_name = _original_name
      @type = _type
    end

    def signature
      @type.signature
    end

    def name
      @name ||= @original_name.underscore
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
etherlite-0.6.0 lib/etherlite/contract/function_input.rb
etherlite-0.5.3 lib/etherlite/contract/function_input.rb
etherlite-0.5.2 lib/etherlite/contract/function_input.rb
etherlite-0.5.1 lib/etherlite/contract/function_input.rb
etherlite-0.5.0 lib/etherlite/contract/function_input.rb
etherlite-0.4.2 lib/etherlite/contract/function_input.rb
etherlite-0.4.1 lib/etherlite/contract/function_input.rb
etherlite-0.4.0 lib/etherlite/contract/function_input.rb
etherlite-0.3.0 lib/etherlite/contract/function_input.rb
etherlite-0.2.6 lib/etherlite/contract/function_input.rb
etherlite-0.2.5 lib/etherlite/contract/function_input.rb
etherlite-0.2.4 lib/etherlite/contract/function_input.rb
etherlite-0.2.3 lib/etherlite/contract/function_input.rb
etherlite-0.2.2 lib/etherlite/contract/function_input.rb
etherlite-0.2.1 lib/etherlite/contract/function_input.rb
etherlite-0.2.0 lib/etherlite/contract/function_input.rb
etherlite-0.1.8 lib/etherlite/contract/function_input.rb
etherlite-0.1.7 lib/etherlite/contract/function_input.rb