Module | Haml::Util |
In: |
lib/haml/util.rb
|
RUBY_VERSION | = | ::RUBY_VERSION.split(".").map {|s| s.to_i} |
# File lib/haml/util.rb, line 11 11: def has?(attr, klass, method) 12: klass.send("#{attr}s").include?(ruby1_8? ? method.to_s : method.to_sym) 13: end