class method
self.property
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
self.property(name, value = nil)
No documentation comment.
Parameters
-
namereq -
valueopt = nil
Source
# File railties/lib/rails/info.rb, line 19
def property(name, value = nil)
value ||= yield
properties << [name, value] if value
rescue Exception
end
Defined in railties/lib/rails/info.rb line 19
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Info