Method: Precheck::ItemToCheck#initialize

Defined in:
precheck/lib/precheck/item_to_check.rb

#initialize(item_name, friendly_name, is_optional = false) ⇒ ItemToCheck

Returns a new instance of ItemToCheck.



10
11
12
13
14
# File 'precheck/lib/precheck/item_to_check.rb', line 10

def initialize(item_name, friendly_name, is_optional = false)
  @item_name = item_name
  @friendly_name = friendly_name
  @is_optional = is_optional
end