Method: Restaurant#id

Defined in:
lib/restaurant.rb

#idObject

Returns the value of attribute id.



2
3
4
# File 'lib/restaurant.rb', line 2

def id
  @id
end