class RSpec::Variants::Table::Row
Public Class Methods
new(condition)
click to toggle source
# File lib/rspec/variants/table.rb, line 33 def initialize(condition) @conditions = [condition] end
Public Instance Methods
add_condition(condition)
click to toggle source
# File lib/rspec/variants/table.rb, line 37 def add_condition(condition) @conditions << condition end
to_a()
click to toggle source
# File lib/rspec/variants/table.rb, line 41 def to_a @conditions end
to_conditions()
click to toggle source
# File lib/rspec/variants/table.rb, line 45 def to_conditions [@conditions] end