Class: FlutterRb::PlatformPlugin
- Inherits:
-
Object
- Object
- FlutterRb::PlatformPlugin
- Defined in:
- lib/flutter_rb/project/specs/flutter/platform_plugin.rb
Overview
Flutter plugin, contains platform, package and plugin class
Instance Attribute Summary collapse
-
#package ⇒ Object
readonly
Returns the value of attribute package.
-
#platform ⇒ Object
readonly
Returns the value of attribute platform.
-
#plugin_class ⇒ Object
readonly
Returns the value of attribute plugin_class.
Instance Method Summary collapse
-
#initialize(platform, package, plugin_class) ⇒ PlatformPlugin
constructor
A new instance of PlatformPlugin.
Constructor Details
#initialize(platform, package, plugin_class) ⇒ PlatformPlugin
Returns a new instance of PlatformPlugin.
4 5 6 7 8 |
# File 'lib/flutter_rb/project/specs/flutter/platform_plugin.rb', line 4 def initialize(platform, package, plugin_class) @platform = platform @package = package @plugin_class = plugin_class end |
Instance Attribute Details
#package ⇒ Object (readonly)
Returns the value of attribute package.
10 11 12 |
# File 'lib/flutter_rb/project/specs/flutter/platform_plugin.rb', line 10 def package @package end |
#platform ⇒ Object (readonly)
Returns the value of attribute platform.
10 11 12 |
# File 'lib/flutter_rb/project/specs/flutter/platform_plugin.rb', line 10 def platform @platform end |
#plugin_class ⇒ Object (readonly)
Returns the value of attribute plugin_class.
10 11 12 |
# File 'lib/flutter_rb/project/specs/flutter/platform_plugin.rb', line 10 def plugin_class @plugin_class end |