Class: Kosher::Condition

Inherits:
Structure
  • Object
show all
Defined in:
lib/kosher/condition.rb

Instance Method Summary collapse

Instance Method Details

#kosher?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/kosher/condition.rb', line 7

def kosher?
  Boolean(kosher)
end

#new?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/kosher/condition.rb', line 11

def new?
  grade == 1
end