Class: RSpec::Specify::Parameterized::ExampleGroupMethods::Parameter

Inherits:
Object
  • Object
show all
Defined in:
lib/specify/rspec/parameterized.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arg_names, table_format, &block) ⇒ Parameter

Returns a new instance of Parameter.



14
15
16
# File 'lib/specify/rspec/parameterized.rb', line 14

def initialize(arg_names, table_format, &block)
  @arg_names, @table_format, @block = arg_names, table_format, block
end

Instance Attribute Details

#arg_namesObject (readonly)

Returns the value of attribute arg_names.



12
13
14
# File 'lib/specify/rspec/parameterized.rb', line 12

def arg_names
  @arg_names
end

#blockObject (readonly)

Returns the value of attribute block.



12
13
14
# File 'lib/specify/rspec/parameterized.rb', line 12

def block
  @block
end

#table_formatObject (readonly)

Returns the value of attribute table_format.



12
13
14
# File 'lib/specify/rspec/parameterized.rb', line 12

def table_format
  @table_format
end