Class: Gallerist::Tag
- Defined in:
- lib/gallerist/models/tag.rb
Overview
This code is free software; you can redistribute it and/or modify it under the terms of the new BSD License.
Copyright © 2015, Sebastian Staudt
Instance Method Summary collapse
Methods inherited from BaseModel
iphoto, photos, setup_for, store_setup
Instance Method Details
#inspect ⇒ Object
23 24 25 |
# File 'lib/gallerist/models/tag.rb', line 23 def inspect "#<%s id=%d name='%s'>" % [ self.class, id, name ] end |
#to_s ⇒ Object
27 28 29 |
# File 'lib/gallerist/models/tag.rb', line 27 def to_s name end |