Sha256: 9a3e753a05a56b9c722e0a1ca3fce6b7a569954712918374252be9bb189a8c71

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 Bytes

Contents

module Inch
  module Language
    module Elixir
      module Provider
        module Reader
          module Object
            # Proxy class for functions
            class FunctionObject < Base
              def name
                @hash['id']
              end

              def fullname
                @hash['module_id'] + "." + @hash['id']
              end

              def method?
                true
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
inch-0.5.0.rc5 lib/inch/language/elixir/provider/reader/object/function_object.rb
inch-0.5.0.rc4 lib/inch/language/elixir/provider/reader/object/function_object.rb