Class: Argible::MethodDefinition

Inherits:
Object
  • Object
show all
Defined in:
lib/argible/method_definition.rb

Overview

defines information about the method being annotated

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ MethodDefinition

Returns a new instance of MethodDefinition.



8
9
10
# File 'lib/argible/method_definition.rb', line 8

def initialize(options)
  @options = options
end

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments.



6
7
8
# File 'lib/argible/method_definition.rb', line 6

def arguments
  @arguments
end

#nameObject

:nodoc:



5
6
7
# File 'lib/argible/method_definition.rb', line 5

def name
  @name
end

#optionsObject

:nodoc:



5
6
7
# File 'lib/argible/method_definition.rb', line 5

def options
  @options
end