Class: Applinks::Builder::AndroidBlock
- Defined in:
- lib/applinks/builder.rb
Instance Attribute Summary collapse
-
#package ⇒ Object
readonly
Returns the value of attribute package.
Attributes inherited from AppBlock
Attributes inherited from MetaBlock
Instance Method Summary collapse
-
#initialize(hsh, versioned) ⇒ AndroidBlock
constructor
A new instance of AndroidBlock.
- #valid? ⇒ Boolean
Constructor Details
#initialize(hsh, versioned) ⇒ AndroidBlock
Returns a new instance of AndroidBlock.
110 111 112 113 |
# File 'lib/applinks/builder.rb', line 110 def initialize hsh, versioned super @package = hsh[:package] if hsh.has_key?(:package) end |
Instance Attribute Details
#package ⇒ Object (readonly)
Returns the value of attribute package.
108 109 110 |
# File 'lib/applinks/builder.rb', line 108 def package @package end |
Instance Method Details
#valid? ⇒ Boolean
115 116 117 |
# File 'lib/applinks/builder.rb', line 115 def valid? !@package.nil? end |