Class: Infinity2008::You
- Inherits:
-
Object
show all
- Defined in:
- lib/infinity2008.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args) ⇒ Object
32
33
34
|
# File 'lib/infinity2008.rb', line 32
def method_missing(m, *args)
m == :find ? send(*args) : self
end
|
Instance Method Details
#in?(o) ⇒ Boolean
26
27
28
29
30
|
# File 'lib/infinity2008.rb', line 26
def in?(o)
(@t ||= ([false] * Song::Duration).each).next
rescue
true.tap { puts " trust in #{o.class}" }
end
|