Class: SimpleCataloger::Item

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/dircat/cat_on_sqlite/model/item.rb

Instance Method Summary collapse

Instance Method Details

#pesoObject



13
14
15
# File 'lib/dircat/cat_on_sqlite/model/item.rb', line 13

def peso
  1
end

#to_sObject



9
10
11
# File 'lib/dircat/cat_on_sqlite/model/item.rb', line 9

def to_s
  name
end