Class: RSpec::Specify::Parameterized::ExampleGroupMethods::Parameter
- Inherits:
-
Object
- Object
- RSpec::Specify::Parameterized::ExampleGroupMethods::Parameter
- Defined in:
- lib/specify/rspec/parameterized.rb
Instance Attribute Summary collapse
-
#arg_names ⇒ Object
readonly
Returns the value of attribute arg_names.
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#table_format ⇒ Object
readonly
Returns the value of attribute table_format.
Instance Method Summary collapse
-
#initialize(arg_names, table_format, &block) ⇒ Parameter
constructor
A new instance of Parameter.
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_names ⇒ Object (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 |
#block ⇒ Object (readonly)
Returns the value of attribute block.
12 13 14 |
# File 'lib/specify/rspec/parameterized.rb', line 12 def block @block end |
#table_format ⇒ Object (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 |