class Cucumber::CucumberExpressions::Color

Attributes

name[R]

Public Class Methods

new(name) click to toggle source
color-constructor
# File spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb, line 11
def initialize(name)
  @name = name
end

Public Instance Methods

==(other) click to toggle source
color-constructor
# File spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb, line 17
def ==(other)
  other.is_a?(Color) && other.name == name
end