Class: Flutter::Config
- Inherits:
-
Object
- Object
- Flutter::Config
- Defined in:
- lib/config.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#framework_path ⇒ Object
readonly
Returns the value of attribute framework_path.
-
#ignore_gp ⇒ Object
Returns the value of attribute ignore_gp.
-
#new_products ⇒ Object
Returns the value of attribute new_products.
-
#podfile_path ⇒ Object
readonly
Returns the value of attribute podfile_path.
-
#product_types ⇒ Object
readonly
Returns the value of attribute product_types.
-
#project_dir ⇒ Object
Returns the value of attribute project_dir.
-
#router_name ⇒ Object
readonly
Returns the value of attribute router_name.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#swift_version ⇒ Object
readonly
Returns the value of attribute swift_version.
-
#xcconfig_path ⇒ Object
readonly
Returns the value of attribute xcconfig_path.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
14 15 16 17 18 19 20 21 22 |
# File 'lib/config.rb', line 14 def initialize @source = "source '[email protected]:mtpc_sh_ios/ios_sohu_spec.git'" @router_name = " pod 'SHNRouter', :subspecs => ['Core','Flutter'], :source => '[email protected]:mtpc_sh_ios/ios_sohu_spec.git'" @swift_version = "SWIFT_VERSION=4.0" @xcconfig_path = ".ios/Flutter/Generated.xcconfig" @podfile_path = ".ios/Podfile" @framework_path = "./build/flutter" @product_types = %w[debug profile release] end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
8 9 10 |
# File 'lib/config.rb', line 8 def config @config end |
#debug ⇒ Object
Returns the value of attribute debug.
8 9 10 |
# File 'lib/config.rb', line 8 def debug @debug end |
#framework_path ⇒ Object (readonly)
Returns the value of attribute framework_path.
6 7 8 |
# File 'lib/config.rb', line 6 def framework_path @framework_path end |
#ignore_gp ⇒ Object
Returns the value of attribute ignore_gp.
8 9 10 |
# File 'lib/config.rb', line 8 def ignore_gp @ignore_gp end |
#new_products ⇒ Object
Returns the value of attribute new_products.
8 9 10 |
# File 'lib/config.rb', line 8 def new_products @new_products end |
#podfile_path ⇒ Object (readonly)
Returns the value of attribute podfile_path.
6 7 8 |
# File 'lib/config.rb', line 6 def podfile_path @podfile_path end |
#product_types ⇒ Object (readonly)
Returns the value of attribute product_types.
6 7 8 |
# File 'lib/config.rb', line 6 def product_types @product_types end |
#project_dir ⇒ Object
Returns the value of attribute project_dir.
8 9 10 |
# File 'lib/config.rb', line 8 def project_dir @project_dir end |
#router_name ⇒ Object (readonly)
Returns the value of attribute router_name.
6 7 8 |
# File 'lib/config.rb', line 6 def router_name @router_name end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
6 7 8 |
# File 'lib/config.rb', line 6 def source @source end |
#swift_version ⇒ Object (readonly)
Returns the value of attribute swift_version.
6 7 8 |
# File 'lib/config.rb', line 6 def swift_version @swift_version end |
#xcconfig_path ⇒ Object (readonly)
Returns the value of attribute xcconfig_path.
6 7 8 |
# File 'lib/config.rb', line 6 def xcconfig_path @xcconfig_path end |
Class Method Details
.instance ⇒ Object
10 11 12 |
# File 'lib/config.rb', line 10 def self.instance @instance ||= new end |