Class: Xhive::Image

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/xhive/image.rb

Instance Method Summary collapse

Instance Method Details

#basenameObject



15
16
17
# File 'app/models/xhive/image.rb', line 15

def basename
  File.basename(image.to_s)
end