Module: Arkenstone::Helpers::GeneralMethods
- Defined in:
- lib/arkenstone/helpers.rb
Instance Method Summary collapse
Instance Method Details
#full_url(url) ⇒ Object
13 14 15 |
# File 'lib/arkenstone/helpers.rb', line 13 def full_url(url) url =~ %r{(/$)} ? url : "#{url}/" end |