class SimpleFilter::ModuleHelper::ModuleName

Public Class Methods

new(prefix, name) click to toggle source
# File lib/simple_filter/module_helper.rb, line 18
def initialize(prefix, name)
  @prefix = prefix
  @name = name
end

Public Instance Methods

to_s() click to toggle source
# File lib/simple_filter/module_helper.rb, line 23
def to_s
  @prefix + @name.to_s.split('_').map(&:capitalize).join
end
Also aliased as: to_str
to_str()
Alias for: to_s