class Stimulant::Target
Attributes
controller[R]
name[R]
Public Class Methods
new(controller, name)
click to toggle source
# File lib/stimulant/target.rb, line 7 def initialize(controller, name) @controller = controller @name = name.to_s.underscore.camelize(:lower) end
Public Instance Methods
to_s()
click to toggle source
# File lib/stimulant/target.rb, line 12 def to_s "#{controller}.#{name}" end