Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/the_string_to_slug.rb
Instance Method Summary collapse
- #slugged_filename(opts = {}) ⇒ Object
- #slugged_filepath(opts = {}) ⇒ Object
- #to_slug_param(opts = {}) ⇒ Object
Instance Method Details
#slugged_filename(opts = {}) ⇒ Object
64 65 66 |
# File 'lib/the_string_to_slug.rb', line 64 def slugged_filename opts = {} String.slugged_filename(self.to_s, opts) end |
#slugged_filepath(opts = {}) ⇒ Object
68 69 70 |
# File 'lib/the_string_to_slug.rb', line 68 def slugged_filepath opts = {} String.slugged_file(self.to_s, opts) end |
#to_slug_param(opts = {}) ⇒ Object
60 61 62 |
# File 'lib/the_string_to_slug.rb', line 60 def to_slug_param opts = {} String.to_slug_param(self.to_s, opts) end |