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