Exception: Qrcodeable::Core::QrcodeableError
- Inherits:
-
StandardError
- Object
- StandardError
- Qrcodeable::Core::QrcodeableError
- Defined in:
- lib/qrcodeable/core.rb
Class Method Summary collapse
Class Method Details
.invalid_identifier(i) ⇒ Object
5 6 7 |
# File 'lib/qrcodeable/core.rb', line 5 def self.invalid_identifier(i) "Please add column #{i} by running migration" end |
.no_directory(d = nil) ⇒ Object
9 10 11 12 |
# File 'lib/qrcodeable/core.rb', line 9 def self.no_directory(d = nil) dir = d.nil? ? "qrcodes/downloads" : d "Please create a directory #{dir} in #{Rails.root.to_s}" end |