Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/the_string_to_slug.rb

Instance Method Summary collapse

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