Class: Applinks::Builder::MetaBlock
- Inherits:
-
Object
- Object
- Applinks::Builder::MetaBlock
- Defined in:
- lib/applinks/builder.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(hsh = {}) ⇒ MetaBlock
constructor
A new instance of MetaBlock.
- #valid? ⇒ Boolean
Constructor Details
#initialize(hsh = {}) ⇒ MetaBlock
Returns a new instance of MetaBlock.
76 77 78 |
# File 'lib/applinks/builder.rb', line 76 def initialize hsh = {} @url = hsh[:url] if hsh.has_key?(:url) end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
74 75 76 |
# File 'lib/applinks/builder.rb', line 74 def url @url end |
Instance Method Details
#valid? ⇒ Boolean
80 81 82 |
# File 'lib/applinks/builder.rb', line 80 def valid? false end |