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



74
75
76
# File 'lib/the_string_to_slug.rb', line 74

def slugged_filename opts = {}
  String.slugged_filename(self.to_s, opts)
end

#slugged_filepath(opts = {}) ⇒ Object



78
79
80
# File 'lib/the_string_to_slug.rb', line 78

def slugged_filepath opts = {}
  String.slugged_file(self.to_s, opts)
end

#to_slug_param(opts = {}) ⇒ Object



70
71
72
# File 'lib/the_string_to_slug.rb', line 70

def to_slug_param opts = {}
  String.to_slug_param(self.to_s, opts)
end