Class: Applinks::Builder::AppBlock
- Defined in:
- lib/applinks/builder.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#app_name ⇒ Object
readonly
Returns the value of attribute app_name.
-
#versioned ⇒ Object
readonly
Returns the value of attribute versioned.
Attributes inherited from MetaBlock
Instance Method Summary collapse
-
#initialize(hsh, versioned) ⇒ AppBlock
constructor
A new instance of AppBlock.
Methods inherited from MetaBlock
Constructor Details
#initialize(hsh, versioned) ⇒ AppBlock
Returns a new instance of AppBlock.
88 89 90 91 92 |
# File 'lib/applinks/builder.rb', line 88 def initialize hsh, versioned super(hsh) @versioned = versioned @app_name = hsh[:app_name] if hsh.has_key?(:app_name) end |
Instance Attribute Details
#app_name ⇒ Object (readonly)
Returns the value of attribute app_name.
86 87 88 |
# File 'lib/applinks/builder.rb', line 86 def app_name @app_name end |
#versioned ⇒ Object (readonly)
Returns the value of attribute versioned.
86 87 88 |
# File 'lib/applinks/builder.rb', line 86 def versioned @versioned end |