Method: AE::Check::Proc#to_s
- Defined in:
- lib/ae/check.rb
#to_s(*args) ⇒ Object
39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/ae/check.rb', line 39 def to_s(*args) case when nil @name.to_s when ::Proc .call(*args) else # TODO: count %\S and apply `% args.map{|a|a.inspect}[0,count]` .to_s end end |