Class: TypeFusion::SampleCall

Inherits:
Struct
  • Object
show all
Defined in:
lib/type_fusion/sample_call.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#application_nameObject

Returns the value of attribute application_name

Returns:

  • (Object)

    the current value of application_name



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def application_name
  @application_name
end

#gem_nameObject

Returns the value of attribute gem_name

Returns:

  • (Object)

    the current value of gem_name



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def gem_name
  @gem_name
end

#gem_versionObject

Returns the value of attribute gem_version

Returns:

  • (Object)

    the current value of gem_version



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def gem_version
  @gem_version
end

#locationObject

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def location
  @location
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def method_name
  @method_name
end

#parametersObject

Returns the value of attribute parameters

Returns:

  • (Object)

    the current value of parameters



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def parameters
  @parameters
end

#receiverObject

Returns the value of attribute receiver

Returns:

  • (Object)

    the current value of receiver



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def receiver
  @receiver
end

#return_valueObject

Returns the value of attribute return_value

Returns:

  • (Object)

    the current value of return_value



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def return_value
  @return_value
end

#type_fusion_versionObject

Returns the value of attribute type_fusion_version

Returns:

  • (Object)

    the current value of type_fusion_version



6
7
8
# File 'lib/type_fusion/sample_call.rb', line 6

def type_fusion_version
  @type_fusion_version
end

Instance Method Details

#inspectObject



11
12
13
# File 'lib/type_fusion/sample_call.rb', line 11

def inspect
  "#<TypeFusion::SampleCall receiver=#{receiver.inspect} method_name=#{method_name.inspect} gem_name=#{gem_name.inspect}>"
end

#to_sObject



7
8
9
# File 'lib/type_fusion/sample_call.rb', line 7

def to_s
  JSON.pretty_generate(to_h)
end