class MotionBlender::Interpreters::Base

Attributes

method[R]
receiver[R]
collector[R]
object[RW]

Public Class Methods

interprets(method, options = {}) click to toggle source
# File lib/motion_blender/interpreters/base.rb, line 9
def interprets method, options = {}
  @method = method
  @receiver = options[:receiver] || Object
  Collector.register self
end
key() click to toggle source
# File lib/motion_blender/interpreters/base.rb, line 15
def key
  [@receiver, @method]
end
new(collector) click to toggle source
# File lib/motion_blender/interpreters/base.rb, line 30
def initialize collector
  @collector = collector
end
requirable?(_) click to toggle source
# File lib/motion_blender/interpreters/base.rb, line 19
def requirable? _
  false
end