nucleon 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -7
- data/.gitignore +50 -0
- data/ARCHITECTURE.rdoc +12 -11
- data/Gemfile +7 -11
- data/Gemfile.lock +47 -70
- data/Rakefile +22 -20
- data/TODO.rdoc +1 -1
- data/VERSION +1 -1
- data/bin/nucleon +16 -15
- data/lib/core/codes.rb +65 -38
- data/lib/core/config.rb +774 -153
- data/lib/core/config/collection.rb +134 -25
- data/lib/core/config/options.rb +160 -36
- data/lib/core/core.rb +207 -45
- data/lib/core/environment.rb +626 -206
- data/lib/core/facade.rb +211 -185
- data/lib/core/gems.rb +60 -44
- data/lib/core/manager.rb +587 -237
- data/lib/core/mixin/colors.rb +66 -36
- data/lib/core/mixin/config/collection.rb +58 -23
- data/lib/core/mixin/config/options.rb +67 -24
- data/lib/core/mixin/macro/object_interface.rb +129 -135
- data/lib/core/mixin/macro/plugin_interface.rb +118 -124
- data/lib/core/mixin/settings.rb +7 -13
- data/lib/core/mixin/sub_config.rb +37 -43
- data/lib/core/mod/hash.rb +31 -10
- data/lib/core/plugin/action.rb +274 -238
- data/lib/core/plugin/base.rb +140 -132
- data/lib/core/plugin/project.rb +316 -311
- data/lib/core/util/cli.rb +146 -146
- data/lib/core/util/console.rb +567 -124
- data/lib/core/util/data.rb +654 -139
- data/lib/core/util/logger.rb +255 -66
- data/lib/nucleon.rb +6 -8
- data/lib/nucleon_base.rb +364 -106
- data/nucleon.gemspec +40 -389
- data/spec/core/codes_spec.rb +209 -0
- data/spec/core/config_spec.rb +810 -0
- data/spec/core/core_spec.rb +185 -0
- data/spec/core/environment_spec.rb +148 -0
- data/spec/core/util/console_spec.rb +254 -446
- data/spec/nucleon/test.rb +59 -0
- data/spec/nucleon/test/first.rb +28 -0
- data/spec/nucleon/test/second.rb +28 -0
- data/spec/nucleon_codes.rb +98 -0
- data/spec/nucleon_config.rb +523 -0
- data/spec/nucleon_plugin.rb +439 -0
- data/spec/nucleon_test.rb +34 -0
- data/spec/spec_helper.rb +6 -4
- metadata +157 -615
- data/.document +0 -5
- data/rdoc/site/0.1.19/ARCHITECTURE_rdoc.html +0 -634
- data/rdoc/site/0.1.19/Hash.html +0 -347
- data/rdoc/site/0.1.19/Kernel.html +0 -413
- data/rdoc/site/0.1.19/Nucleon.html +0 -570
- data/rdoc/site/0.1.19/Nucleon/Action.html +0 -280
- data/rdoc/site/0.1.19/Nucleon/Action/Add.html +0 -458
- data/rdoc/site/0.1.19/Nucleon/Action/Create.html +0 -415
- data/rdoc/site/0.1.19/Nucleon/Action/Extract.html +0 -413
- data/rdoc/site/0.1.19/Nucleon/Action/Remove.html +0 -461
- data/rdoc/site/0.1.19/Nucleon/Action/Save.html +0 -434
- data/rdoc/site/0.1.19/Nucleon/Action/Update.html +0 -381
- data/rdoc/site/0.1.19/Nucleon/Codes.html +0 -563
- data/rdoc/site/0.1.19/Nucleon/Command.html +0 -275
- data/rdoc/site/0.1.19/Nucleon/Command/Bash.html +0 -544
- data/rdoc/site/0.1.19/Nucleon/Config.html +0 -1623
- data/rdoc/site/0.1.19/Nucleon/Config/Collection.html +0 -509
- data/rdoc/site/0.1.19/Nucleon/Config/Options.html +0 -489
- data/rdoc/site/0.1.19/Nucleon/Core.html +0 -635
- data/rdoc/site/0.1.19/Nucleon/Errors.html +0 -275
- data/rdoc/site/0.1.19/Nucleon/Errors/BatchError.html +0 -281
- data/rdoc/site/0.1.19/Nucleon/Errors/NucleonError.html +0 -657
- data/rdoc/site/0.1.19/Nucleon/Errors/SSHUnavailable.html +0 -281
- data/rdoc/site/0.1.19/Nucleon/Event.html +0 -275
- data/rdoc/site/0.1.19/Nucleon/Event/Regex.html +0 -467
- data/rdoc/site/0.1.19/Nucleon/Facade.html +0 -2336
- data/rdoc/site/0.1.19/Nucleon/Gems.html +0 -635
- data/rdoc/site/0.1.19/Nucleon/Manager.html +0 -1828
- data/rdoc/site/0.1.19/Nucleon/Mixin.html +0 -284
- data/rdoc/site/0.1.19/Nucleon/Mixin/Action.html +0 -277
- data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Commit.html +0 -381
- data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Project.html +0 -395
- data/rdoc/site/0.1.19/Nucleon/Mixin/Action/Push.html +0 -371
- data/rdoc/site/0.1.19/Nucleon/Mixin/Colors.html +0 -545
- data/rdoc/site/0.1.19/Nucleon/Mixin/ConfigCollection.html +0 -481
- data/rdoc/site/0.1.19/Nucleon/Mixin/ConfigOptions.html +0 -449
- data/rdoc/site/0.1.19/Nucleon/Mixin/Macro.html +0 -276
- data/rdoc/site/0.1.19/Nucleon/Mixin/Macro/ObjectInterface.html +0 -695
- data/rdoc/site/0.1.19/Nucleon/Mixin/Macro/PluginInterface.html +0 -682
- data/rdoc/site/0.1.19/Nucleon/Mixin/Settings.html +0 -481
- data/rdoc/site/0.1.19/Nucleon/Mixin/SubConfig.html +0 -887
- data/rdoc/site/0.1.19/Nucleon/Parallel.html +0 -325
- data/rdoc/site/0.1.19/Nucleon/Parallel/ClassMethods.html +0 -325
- data/rdoc/site/0.1.19/Nucleon/Parallel/InstanceMethods.html +0 -334
- data/rdoc/site/0.1.19/Nucleon/Plugin.html +0 -282
- data/rdoc/site/0.1.19/Nucleon/Plugin/Action.html +0 -1368
- data/rdoc/site/0.1.19/Nucleon/Plugin/Action/Option.html +0 -459
- data/rdoc/site/0.1.19/Nucleon/Plugin/Base.html +0 -1737
- data/rdoc/site/0.1.19/Nucleon/Plugin/Command.html +0 -721
- data/rdoc/site/0.1.19/Nucleon/Plugin/Event.html +0 -442
- data/rdoc/site/0.1.19/Nucleon/Plugin/Extension.html +0 -281
- data/rdoc/site/0.1.19/Nucleon/Plugin/Project.html +0 -2864
- data/rdoc/site/0.1.19/Nucleon/Plugin/Template.html +0 -476
- data/rdoc/site/0.1.19/Nucleon/Plugin/Translator.html +0 -371
- data/rdoc/site/0.1.19/Nucleon/Project.html +0 -276
- data/rdoc/site/0.1.19/Nucleon/Project/Git.html +0 -1801
- data/rdoc/site/0.1.19/Nucleon/Project/Github.html +0 -549
- data/rdoc/site/0.1.19/Nucleon/Template.html +0 -277
- data/rdoc/site/0.1.19/Nucleon/Template/Json.html +0 -329
- data/rdoc/site/0.1.19/Nucleon/Template/Wrapper.html +0 -329
- data/rdoc/site/0.1.19/Nucleon/Template/Yaml.html +0 -329
- data/rdoc/site/0.1.19/Nucleon/Translator.html +0 -276
- data/rdoc/site/0.1.19/Nucleon/Translator/Json.html +0 -366
- data/rdoc/site/0.1.19/Nucleon/Translator/Yaml.html +0 -366
- data/rdoc/site/0.1.19/Nucleon/Util.html +0 -285
- data/rdoc/site/0.1.19/Nucleon/Util/CLI.html +0 -388
- data/rdoc/site/0.1.19/Nucleon/Util/CLI/Parser.html +0 -1183
- data/rdoc/site/0.1.19/Nucleon/Util/Cache.html +0 -780
- data/rdoc/site/0.1.19/Nucleon/Util/Console.html +0 -1294
- data/rdoc/site/0.1.19/Nucleon/Util/Data.html +0 -1399
- data/rdoc/site/0.1.19/Nucleon/Util/Disk.html +0 -522
- data/rdoc/site/0.1.19/Nucleon/Util/Git.html +0 -361
- data/rdoc/site/0.1.19/Nucleon/Util/Liquid.html +0 -365
- data/rdoc/site/0.1.19/Nucleon/Util/Logger.html +0 -806
- data/rdoc/site/0.1.19/Nucleon/Util/Package.html +0 -558
- data/rdoc/site/0.1.19/Nucleon/Util/SSH.html +0 -910
- data/rdoc/site/0.1.19/Nucleon/Util/SSH/Keypair.html +0 -453
- data/rdoc/site/0.1.19/Nucleon/Util/Shell.html +0 -686
- data/rdoc/site/0.1.19/Nucleon/Util/Shell/Result.html +0 -497
- data/rdoc/site/0.1.19/README_rdoc.html +0 -312
- data/rdoc/site/0.1.19/TODO_rdoc.html +0 -267
- data/rdoc/site/0.1.19/created.rid +0 -60
- data/rdoc/site/0.1.19/images/add.png +0 -0
- data/rdoc/site/0.1.19/images/brick.png +0 -0
- data/rdoc/site/0.1.19/images/brick_link.png +0 -0
- data/rdoc/site/0.1.19/images/bug.png +0 -0
- data/rdoc/site/0.1.19/images/bullet_black.png +0 -0
- data/rdoc/site/0.1.19/images/bullet_toggle_minus.png +0 -0
- data/rdoc/site/0.1.19/images/bullet_toggle_plus.png +0 -0
- data/rdoc/site/0.1.19/images/date.png +0 -0
- data/rdoc/site/0.1.19/images/delete.png +0 -0
- data/rdoc/site/0.1.19/images/find.png +0 -0
- data/rdoc/site/0.1.19/images/loadingAnimation.gif +0 -0
- data/rdoc/site/0.1.19/images/macFFBgHack.png +0 -0
- data/rdoc/site/0.1.19/images/package.png +0 -0
- data/rdoc/site/0.1.19/images/page_green.png +0 -0
- data/rdoc/site/0.1.19/images/page_white_text.png +0 -0
- data/rdoc/site/0.1.19/images/page_white_width.png +0 -0
- data/rdoc/site/0.1.19/images/plugin.png +0 -0
- data/rdoc/site/0.1.19/images/ruby.png +0 -0
- data/rdoc/site/0.1.19/images/tag_blue.png +0 -0
- data/rdoc/site/0.1.19/images/tag_green.png +0 -0
- data/rdoc/site/0.1.19/images/transparent.png +0 -0
- data/rdoc/site/0.1.19/images/wrench.png +0 -0
- data/rdoc/site/0.1.19/images/wrench_orange.png +0 -0
- data/rdoc/site/0.1.19/images/zoom.png +0 -0
- data/rdoc/site/0.1.19/index.html +0 -311
- data/rdoc/site/0.1.19/js/darkfish.js +0 -155
- data/rdoc/site/0.1.19/js/jquery.js +0 -18
- data/rdoc/site/0.1.19/js/navigation.js +0 -142
- data/rdoc/site/0.1.19/js/search.js +0 -94
- data/rdoc/site/0.1.19/js/search_index.js +0 -1
- data/rdoc/site/0.1.19/js/searcher.js +0 -228
- data/rdoc/site/0.1.19/rdoc.css +0 -543
- data/rdoc/site/0.1.19/table_of_contents.html +0 -1541
- data/rdoc/site/0.2.0/ARCHITECTURE_rdoc.html +0 -638
- data/rdoc/site/0.2.0/Hash.html +0 -351
- data/rdoc/site/0.2.0/Kernel.html +0 -416
- data/rdoc/site/0.2.0/Nucleon.html +0 -607
- data/rdoc/site/0.2.0/Nucleon/Action.html +0 -284
- data/rdoc/site/0.2.0/Nucleon/Action/Extract.html +0 -455
- data/rdoc/site/0.2.0/Nucleon/Action/Project.html +0 -283
- data/rdoc/site/0.2.0/Nucleon/Action/Project/Add.html +0 -500
- data/rdoc/site/0.2.0/Nucleon/Action/Project/Create.html +0 -457
- data/rdoc/site/0.2.0/Nucleon/Action/Project/Remove.html +0 -503
- data/rdoc/site/0.2.0/Nucleon/Action/Project/Save.html +0 -476
- data/rdoc/site/0.2.0/Nucleon/Action/Project/Update.html +0 -423
- data/rdoc/site/0.2.0/Nucleon/Codes.html +0 -567
- data/rdoc/site/0.2.0/Nucleon/Command.html +0 -279
- data/rdoc/site/0.2.0/Nucleon/Command/Bash.html +0 -548
- data/rdoc/site/0.2.0/Nucleon/Config.html +0 -1631
- data/rdoc/site/0.2.0/Nucleon/Config/Collection.html +0 -513
- data/rdoc/site/0.2.0/Nucleon/Config/Options.html +0 -493
- data/rdoc/site/0.2.0/Nucleon/Core.html +0 -639
- data/rdoc/site/0.2.0/Nucleon/Environment.html +0 -1208
- data/rdoc/site/0.2.0/Nucleon/Errors.html +0 -279
- data/rdoc/site/0.2.0/Nucleon/Errors/BatchError.html +0 -285
- data/rdoc/site/0.2.0/Nucleon/Errors/NucleonError.html +0 -661
- data/rdoc/site/0.2.0/Nucleon/Errors/SSHUnavailable.html +0 -285
- data/rdoc/site/0.2.0/Nucleon/Event.html +0 -279
- data/rdoc/site/0.2.0/Nucleon/Event/Regex.html +0 -471
- data/rdoc/site/0.2.0/Nucleon/Facade.html +0 -2409
- data/rdoc/site/0.2.0/Nucleon/Gems.html +0 -639
- data/rdoc/site/0.2.0/Nucleon/Manager.html +0 -1860
- data/rdoc/site/0.2.0/Nucleon/Mixin.html +0 -288
- data/rdoc/site/0.2.0/Nucleon/Mixin/Action.html +0 -281
- data/rdoc/site/0.2.0/Nucleon/Mixin/Action/Commit.html +0 -385
- data/rdoc/site/0.2.0/Nucleon/Mixin/Action/Project.html +0 -399
- data/rdoc/site/0.2.0/Nucleon/Mixin/Action/Push.html +0 -375
- data/rdoc/site/0.2.0/Nucleon/Mixin/Colors.html +0 -549
- data/rdoc/site/0.2.0/Nucleon/Mixin/ConfigCollection.html +0 -485
- data/rdoc/site/0.2.0/Nucleon/Mixin/ConfigOptions.html +0 -453
- data/rdoc/site/0.2.0/Nucleon/Mixin/Macro.html +0 -280
- data/rdoc/site/0.2.0/Nucleon/Mixin/Macro/ObjectInterface.html +0 -699
- data/rdoc/site/0.2.0/Nucleon/Mixin/Macro/PluginInterface.html +0 -686
- data/rdoc/site/0.2.0/Nucleon/Mixin/Settings.html +0 -485
- data/rdoc/site/0.2.0/Nucleon/Mixin/SubConfig.html +0 -891
- data/rdoc/site/0.2.0/Nucleon/Parallel.html +0 -330
- data/rdoc/site/0.2.0/Nucleon/Parallel/ClassMethods.html +0 -329
- data/rdoc/site/0.2.0/Nucleon/Parallel/InstanceMethods.html +0 -456
- data/rdoc/site/0.2.0/Nucleon/Plugin.html +0 -286
- data/rdoc/site/0.2.0/Nucleon/Plugin/Action.html +0 -1829
- data/rdoc/site/0.2.0/Nucleon/Plugin/Action/Option.html +0 -463
- data/rdoc/site/0.2.0/Nucleon/Plugin/Base.html +0 -1803
- data/rdoc/site/0.2.0/Nucleon/Plugin/Command.html +0 -725
- data/rdoc/site/0.2.0/Nucleon/Plugin/Event.html +0 -446
- data/rdoc/site/0.2.0/Nucleon/Plugin/Extension.html +0 -285
- data/rdoc/site/0.2.0/Nucleon/Plugin/Project.html +0 -2898
- data/rdoc/site/0.2.0/Nucleon/Plugin/Template.html +0 -480
- data/rdoc/site/0.2.0/Nucleon/Plugin/Translator.html +0 -375
- data/rdoc/site/0.2.0/Nucleon/Project.html +0 -280
- data/rdoc/site/0.2.0/Nucleon/Project/Git.html +0 -1805
- data/rdoc/site/0.2.0/Nucleon/Project/Github.html +0 -553
- data/rdoc/site/0.2.0/Nucleon/Template.html +0 -281
- data/rdoc/site/0.2.0/Nucleon/Template/JSON.html +0 -333
- data/rdoc/site/0.2.0/Nucleon/Template/Wrapper.html +0 -333
- data/rdoc/site/0.2.0/Nucleon/Template/YAML.html +0 -333
- data/rdoc/site/0.2.0/Nucleon/Translator.html +0 -280
- data/rdoc/site/0.2.0/Nucleon/Translator/JSON.html +0 -370
- data/rdoc/site/0.2.0/Nucleon/Translator/YAML.html +0 -370
- data/rdoc/site/0.2.0/Nucleon/Util.html +0 -289
- data/rdoc/site/0.2.0/Nucleon/Util/CLI.html +0 -392
- data/rdoc/site/0.2.0/Nucleon/Util/CLI/Parser.html +0 -1250
- data/rdoc/site/0.2.0/Nucleon/Util/Cache.html +0 -784
- data/rdoc/site/0.2.0/Nucleon/Util/Console.html +0 -1318
- data/rdoc/site/0.2.0/Nucleon/Util/Data.html +0 -1411
- data/rdoc/site/0.2.0/Nucleon/Util/Disk.html +0 -526
- data/rdoc/site/0.2.0/Nucleon/Util/Git.html +0 -365
- data/rdoc/site/0.2.0/Nucleon/Util/Liquid.html +0 -369
- data/rdoc/site/0.2.0/Nucleon/Util/Logger.html +0 -810
- data/rdoc/site/0.2.0/Nucleon/Util/Package.html +0 -562
- data/rdoc/site/0.2.0/Nucleon/Util/SSH.html +0 -1033
- data/rdoc/site/0.2.0/Nucleon/Util/SSH/Keypair.html +0 -605
- data/rdoc/site/0.2.0/Nucleon/Util/Shell.html +0 -693
- data/rdoc/site/0.2.0/Nucleon/Util/Shell/Result.html +0 -501
- data/rdoc/site/0.2.0/README_rdoc.html +0 -316
- data/rdoc/site/0.2.0/TODO_rdoc.html +0 -265
- data/rdoc/site/0.2.0/created.rid +0 -61
- data/rdoc/site/0.2.0/images/add.png +0 -0
- data/rdoc/site/0.2.0/images/brick.png +0 -0
- data/rdoc/site/0.2.0/images/brick_link.png +0 -0
- data/rdoc/site/0.2.0/images/bug.png +0 -0
- data/rdoc/site/0.2.0/images/bullet_black.png +0 -0
- data/rdoc/site/0.2.0/images/bullet_toggle_minus.png +0 -0
- data/rdoc/site/0.2.0/images/bullet_toggle_plus.png +0 -0
- data/rdoc/site/0.2.0/images/date.png +0 -0
- data/rdoc/site/0.2.0/images/delete.png +0 -0
- data/rdoc/site/0.2.0/images/find.png +0 -0
- data/rdoc/site/0.2.0/images/loadingAnimation.gif +0 -0
- data/rdoc/site/0.2.0/images/macFFBgHack.png +0 -0
- data/rdoc/site/0.2.0/images/package.png +0 -0
- data/rdoc/site/0.2.0/images/page_green.png +0 -0
- data/rdoc/site/0.2.0/images/page_white_text.png +0 -0
- data/rdoc/site/0.2.0/images/page_white_width.png +0 -0
- data/rdoc/site/0.2.0/images/plugin.png +0 -0
- data/rdoc/site/0.2.0/images/ruby.png +0 -0
- data/rdoc/site/0.2.0/images/tag_blue.png +0 -0
- data/rdoc/site/0.2.0/images/tag_green.png +0 -0
- data/rdoc/site/0.2.0/images/transparent.png +0 -0
- data/rdoc/site/0.2.0/images/wrench.png +0 -0
- data/rdoc/site/0.2.0/images/wrench_orange.png +0 -0
- data/rdoc/site/0.2.0/images/zoom.png +0 -0
- data/rdoc/site/0.2.0/index.html +0 -315
- data/rdoc/site/0.2.0/js/darkfish.js +0 -155
- data/rdoc/site/0.2.0/js/jquery.js +0 -18
- data/rdoc/site/0.2.0/js/navigation.js +0 -142
- data/rdoc/site/0.2.0/js/search.js +0 -94
- data/rdoc/site/0.2.0/js/search_index.js +0 -1
- data/rdoc/site/0.2.0/js/searcher.js +0 -228
- data/rdoc/site/0.2.0/rdoc.css +0 -543
- data/rdoc/site/0.2.0/table_of_contents.html +0 -1657
- data/rdoc/site/0.2.1/ARCHITECTURE_rdoc.html +0 -640
- data/rdoc/site/0.2.1/Hash.html +0 -353
- data/rdoc/site/0.2.1/Kernel.html +0 -420
- data/rdoc/site/0.2.1/Nucleon.html +0 -674
- data/rdoc/site/0.2.1/Nucleon/Action.html +0 -286
- data/rdoc/site/0.2.1/Nucleon/Action/Extract.html +0 -457
- data/rdoc/site/0.2.1/Nucleon/Action/Project.html +0 -285
- data/rdoc/site/0.2.1/Nucleon/Action/Project/Add.html +0 -502
- data/rdoc/site/0.2.1/Nucleon/Action/Project/Create.html +0 -459
- data/rdoc/site/0.2.1/Nucleon/Action/Project/Remove.html +0 -505
- data/rdoc/site/0.2.1/Nucleon/Action/Project/Save.html +0 -478
- data/rdoc/site/0.2.1/Nucleon/Action/Project/Update.html +0 -425
- data/rdoc/site/0.2.1/Nucleon/Codes.html +0 -569
- data/rdoc/site/0.2.1/Nucleon/Command.html +0 -281
- data/rdoc/site/0.2.1/Nucleon/Command/Bash.html +0 -550
- data/rdoc/site/0.2.1/Nucleon/Config.html +0 -1634
- data/rdoc/site/0.2.1/Nucleon/Config/Collection.html +0 -515
- data/rdoc/site/0.2.1/Nucleon/Config/Options.html +0 -495
- data/rdoc/site/0.2.1/Nucleon/Core.html +0 -641
- data/rdoc/site/0.2.1/Nucleon/Environment.html +0 -1210
- data/rdoc/site/0.2.1/Nucleon/Errors.html +0 -281
- data/rdoc/site/0.2.1/Nucleon/Errors/BatchError.html +0 -287
- data/rdoc/site/0.2.1/Nucleon/Errors/NucleonError.html +0 -663
- data/rdoc/site/0.2.1/Nucleon/Errors/SSHUnavailable.html +0 -287
- data/rdoc/site/0.2.1/Nucleon/Event.html +0 -281
- data/rdoc/site/0.2.1/Nucleon/Event/Regex.html +0 -473
- data/rdoc/site/0.2.1/Nucleon/Facade.html +0 -2452
- data/rdoc/site/0.2.1/Nucleon/Gems.html +0 -641
- data/rdoc/site/0.2.1/Nucleon/Manager.html +0 -1862
- data/rdoc/site/0.2.1/Nucleon/Mixin.html +0 -291
- data/rdoc/site/0.2.1/Nucleon/Mixin/Action.html +0 -284
- data/rdoc/site/0.2.1/Nucleon/Mixin/Action/Commit.html +0 -387
- data/rdoc/site/0.2.1/Nucleon/Mixin/Action/Project.html +0 -401
- data/rdoc/site/0.2.1/Nucleon/Mixin/Action/Push.html +0 -377
- data/rdoc/site/0.2.1/Nucleon/Mixin/Action/Registration.html +0 -575
- data/rdoc/site/0.2.1/Nucleon/Mixin/Colors.html +0 -551
- data/rdoc/site/0.2.1/Nucleon/Mixin/ConfigCollection.html +0 -487
- data/rdoc/site/0.2.1/Nucleon/Mixin/ConfigOptions.html +0 -455
- data/rdoc/site/0.2.1/Nucleon/Mixin/Macro.html +0 -282
- data/rdoc/site/0.2.1/Nucleon/Mixin/Macro/ObjectInterface.html +0 -701
- data/rdoc/site/0.2.1/Nucleon/Mixin/Macro/PluginInterface.html +0 -688
- data/rdoc/site/0.2.1/Nucleon/Mixin/Settings.html +0 -487
- data/rdoc/site/0.2.1/Nucleon/Mixin/SubConfig.html +0 -893
- data/rdoc/site/0.2.1/Nucleon/Parallel.html +0 -332
- data/rdoc/site/0.2.1/Nucleon/Parallel/ClassMethods.html +0 -331
- data/rdoc/site/0.2.1/Nucleon/Parallel/InstanceMethods.html +0 -458
- data/rdoc/site/0.2.1/Nucleon/Plugin.html +0 -288
- data/rdoc/site/0.2.1/Nucleon/Plugin/Action.html +0 -2133
- data/rdoc/site/0.2.1/Nucleon/Plugin/Action/Option.html +0 -465
- data/rdoc/site/0.2.1/Nucleon/Plugin/Base.html +0 -1988
- data/rdoc/site/0.2.1/Nucleon/Plugin/Command.html +0 -765
- data/rdoc/site/0.2.1/Nucleon/Plugin/Event.html +0 -448
- data/rdoc/site/0.2.1/Nucleon/Plugin/Extension.html +0 -287
- data/rdoc/site/0.2.1/Nucleon/Plugin/Project.html +0 -2900
- data/rdoc/site/0.2.1/Nucleon/Plugin/Template.html +0 -482
- data/rdoc/site/0.2.1/Nucleon/Plugin/Translator.html +0 -377
- data/rdoc/site/0.2.1/Nucleon/Project.html +0 -282
- data/rdoc/site/0.2.1/Nucleon/Project/Git.html +0 -1807
- data/rdoc/site/0.2.1/Nucleon/Project/Github.html +0 -555
- data/rdoc/site/0.2.1/Nucleon/Template.html +0 -283
- data/rdoc/site/0.2.1/Nucleon/Template/JSON.html +0 -335
- data/rdoc/site/0.2.1/Nucleon/Template/Wrapper.html +0 -335
- data/rdoc/site/0.2.1/Nucleon/Template/YAML.html +0 -335
- data/rdoc/site/0.2.1/Nucleon/Translator.html +0 -282
- data/rdoc/site/0.2.1/Nucleon/Translator/JSON.html +0 -372
- data/rdoc/site/0.2.1/Nucleon/Translator/YAML.html +0 -372
- data/rdoc/site/0.2.1/Nucleon/Util.html +0 -291
- data/rdoc/site/0.2.1/Nucleon/Util/CLI.html +0 -394
- data/rdoc/site/0.2.1/Nucleon/Util/CLI/Parser.html +0 -1404
- data/rdoc/site/0.2.1/Nucleon/Util/Cache.html +0 -824
- data/rdoc/site/0.2.1/Nucleon/Util/Console.html +0 -1330
- data/rdoc/site/0.2.1/Nucleon/Util/Data.html +0 -1423
- data/rdoc/site/0.2.1/Nucleon/Util/Disk.html +0 -528
- data/rdoc/site/0.2.1/Nucleon/Util/Git.html +0 -367
- data/rdoc/site/0.2.1/Nucleon/Util/Liquid.html +0 -371
- data/rdoc/site/0.2.1/Nucleon/Util/Logger.html +0 -822
- data/rdoc/site/0.2.1/Nucleon/Util/Package.html +0 -564
- data/rdoc/site/0.2.1/Nucleon/Util/SSH.html +0 -1036
- data/rdoc/site/0.2.1/Nucleon/Util/SSH/Keypair.html +0 -607
- data/rdoc/site/0.2.1/Nucleon/Util/Shell.html +0 -697
- data/rdoc/site/0.2.1/Nucleon/Util/Shell/Result.html +0 -503
- data/rdoc/site/0.2.1/README_rdoc.html +0 -318
- data/rdoc/site/0.2.1/TODO_rdoc.html +0 -267
- data/rdoc/site/0.2.1/created.rid +0 -62
- data/rdoc/site/0.2.1/images/add.png +0 -0
- data/rdoc/site/0.2.1/images/brick.png +0 -0
- data/rdoc/site/0.2.1/images/brick_link.png +0 -0
- data/rdoc/site/0.2.1/images/bug.png +0 -0
- data/rdoc/site/0.2.1/images/bullet_black.png +0 -0
- data/rdoc/site/0.2.1/images/bullet_toggle_minus.png +0 -0
- data/rdoc/site/0.2.1/images/bullet_toggle_plus.png +0 -0
- data/rdoc/site/0.2.1/images/date.png +0 -0
- data/rdoc/site/0.2.1/images/delete.png +0 -0
- data/rdoc/site/0.2.1/images/find.png +0 -0
- data/rdoc/site/0.2.1/images/loadingAnimation.gif +0 -0
- data/rdoc/site/0.2.1/images/macFFBgHack.png +0 -0
- data/rdoc/site/0.2.1/images/package.png +0 -0
- data/rdoc/site/0.2.1/images/page_green.png +0 -0
- data/rdoc/site/0.2.1/images/page_white_text.png +0 -0
- data/rdoc/site/0.2.1/images/page_white_width.png +0 -0
- data/rdoc/site/0.2.1/images/plugin.png +0 -0
- data/rdoc/site/0.2.1/images/ruby.png +0 -0
- data/rdoc/site/0.2.1/images/tag_blue.png +0 -0
- data/rdoc/site/0.2.1/images/tag_green.png +0 -0
- data/rdoc/site/0.2.1/images/transparent.png +0 -0
- data/rdoc/site/0.2.1/images/wrench.png +0 -0
- data/rdoc/site/0.2.1/images/wrench_orange.png +0 -0
- data/rdoc/site/0.2.1/images/zoom.png +0 -0
- data/rdoc/site/0.2.1/index.html +0 -317
- data/rdoc/site/0.2.1/js/darkfish.js +0 -155
- data/rdoc/site/0.2.1/js/jquery.js +0 -18
- data/rdoc/site/0.2.1/js/navigation.js +0 -142
- data/rdoc/site/0.2.1/js/search.js +0 -94
- data/rdoc/site/0.2.1/js/search_index.js +0 -1
- data/rdoc/site/0.2.1/js/searcher.js +0 -228
- data/rdoc/site/0.2.1/rdoc.css +0 -543
- data/rdoc/site/0.2.1/table_of_contents.html +0 -1718
- data/spec/coral_mock_input.rb +0 -29
- data/spec/coral_test_kernel.rb +0 -22
|
@@ -1,1988 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
|
|
3
|
-
<html>
|
|
4
|
-
<head>
|
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
|
6
|
-
|
|
7
|
-
<title>class Nucleon::Plugin::Base - nucleon 0.2.1</title>
|
|
8
|
-
|
|
9
|
-
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
|
|
10
|
-
|
|
11
|
-
<script type="text/javascript">
|
|
12
|
-
var rdoc_rel_prefix = "../../";
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
|
16
|
-
<script type="text/javascript" charset="utf-8" src="../../js/navigation.js"></script>
|
|
17
|
-
<script type="text/javascript" charset="utf-8" src="../../js/search_index.js"></script>
|
|
18
|
-
<script type="text/javascript" charset="utf-8" src="../../js/search.js"></script>
|
|
19
|
-
<script type="text/javascript" charset="utf-8" src="../../js/searcher.js"></script>
|
|
20
|
-
<script type="text/javascript" charset="utf-8" src="../../js/darkfish.js"></script>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<body id="top" class="class">
|
|
24
|
-
<nav id="metadata">
|
|
25
|
-
<nav id="home-section" class="section">
|
|
26
|
-
<h3 class="section-header">
|
|
27
|
-
<a href="../../index.html">Home</a>
|
|
28
|
-
<a href="../../table_of_contents.html#classes">Classes</a>
|
|
29
|
-
<a href="../../table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</h3>
|
|
31
|
-
</nav>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<h3 class="section-header">
|
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</h3>
|
|
40
|
-
</form>
|
|
41
|
-
|
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
|
43
|
-
</nav>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<div id="file-metadata">
|
|
47
|
-
<nav id="file-list-section" class="section">
|
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
|
49
|
-
<ul>
|
|
50
|
-
<li>lib/core/plugin/base.rb
|
|
51
|
-
</ul>
|
|
52
|
-
</nav>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
<div id="class-metadata">
|
|
58
|
-
|
|
59
|
-
<nav id="parent-class-section" class="section">
|
|
60
|
-
<h3 class="section-header">Parent</h3>
|
|
61
|
-
|
|
62
|
-
<p class="link"><a href="../Core.html">Nucleon::Core</a>
|
|
63
|
-
|
|
64
|
-
</nav>
|
|
65
|
-
|
|
66
|
-
<!-- Included Modules -->
|
|
67
|
-
<nav id="includes-section" class="section">
|
|
68
|
-
<h3 class="section-header">Included Modules</h3>
|
|
69
|
-
|
|
70
|
-
<ul class="link-list">
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<li><a class="include" href="../Parallel.html">Nucleon::Parallel</a>
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
<li><a class="include" href="../Mixin/Settings.html">Nucleon::Mixin::Settings</a>
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
<li><a class="include" href="../Mixin/SubConfig.html">Nucleon::Mixin::SubConfig</a>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</ul>
|
|
85
|
-
</nav>
|
|
86
|
-
|
|
87
|
-
<!-- Method Quickref -->
|
|
88
|
-
<nav id="method-list-section" class="section">
|
|
89
|
-
<h3 class="section-header">Methods</h3>
|
|
90
|
-
|
|
91
|
-
<ul class="link-list">
|
|
92
|
-
|
|
93
|
-
<li><a href="#method-c-build_info">::build_info</a>
|
|
94
|
-
|
|
95
|
-
<li><a href="#method-c-init_plugin_collection">::init_plugin_collection</a>
|
|
96
|
-
|
|
97
|
-
<li><a href="#method-c-new">::new</a>
|
|
98
|
-
|
|
99
|
-
<li><a href="#method-c-register_ids">::register_ids</a>
|
|
100
|
-
|
|
101
|
-
<li><a href="#method-c-translate">::translate</a>
|
|
102
|
-
|
|
103
|
-
<li><a href="#method-c-translate_reference">::translate_reference</a>
|
|
104
|
-
|
|
105
|
-
<li><a href="#method-i-admin_exec">#admin_exec</a>
|
|
106
|
-
|
|
107
|
-
<li><a href="#method-i-ask">#ask</a>
|
|
108
|
-
|
|
109
|
-
<li><a href="#method-i-code">#code</a>
|
|
110
|
-
|
|
111
|
-
<li><a href="#method-i-codes">#codes</a>
|
|
112
|
-
|
|
113
|
-
<li><a href="#method-i-error">#error</a>
|
|
114
|
-
|
|
115
|
-
<li><a href="#method-i-extended_config">#extended_config</a>
|
|
116
|
-
|
|
117
|
-
<li><a href="#method-i-extension">#extension</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="#method-i-extension_check">#extension_check</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="#method-i-extension_collect">#extension_collect</a>
|
|
122
|
-
|
|
123
|
-
<li><a href="#method-i-extension_set">#extension_set</a>
|
|
124
|
-
|
|
125
|
-
<li><a href="#method-i-hook_method">#hook_method</a>
|
|
126
|
-
|
|
127
|
-
<li><a href="#method-i-info">#info</a>
|
|
128
|
-
|
|
129
|
-
<li><a href="#method-i-me">#me</a>
|
|
130
|
-
|
|
131
|
-
<li><a href="#method-i-meta">#meta</a>
|
|
132
|
-
|
|
133
|
-
<li><a href="#method-i-method_missing">#method_missing</a>
|
|
134
|
-
|
|
135
|
-
<li><a href="#method-i-myself">#myself</a>
|
|
136
|
-
|
|
137
|
-
<li><a href="#method-i-normalize">#normalize</a>
|
|
138
|
-
|
|
139
|
-
<li><a href="#method-i-parallel_finalize">#parallel_finalize</a>
|
|
140
|
-
|
|
141
|
-
<li><a href="#method-i-password">#password</a>
|
|
142
|
-
|
|
143
|
-
<li><a href="#method-i-plugin_directory">#plugin_directory</a>
|
|
144
|
-
|
|
145
|
-
<li><a href="#method-i-plugin_file">#plugin_file</a>
|
|
146
|
-
|
|
147
|
-
<li><a href="#method-i-plugin_instance_name">#plugin_instance_name</a>
|
|
148
|
-
|
|
149
|
-
<li><a href="#method-i-plugin_name">#plugin_name</a>
|
|
150
|
-
|
|
151
|
-
<li><a href="#method-i-plugin_name-3D">#plugin_name=</a>
|
|
152
|
-
|
|
153
|
-
<li><a href="#method-i-plugin_namespace">#plugin_namespace</a>
|
|
154
|
-
|
|
155
|
-
<li><a href="#method-i-plugin_parent">#plugin_parent</a>
|
|
156
|
-
|
|
157
|
-
<li><a href="#method-i-plugin_parent-3D">#plugin_parent=</a>
|
|
158
|
-
|
|
159
|
-
<li><a href="#method-i-plugin_provider">#plugin_provider</a>
|
|
160
|
-
|
|
161
|
-
<li><a href="#method-i-plugin_type">#plugin_type</a>
|
|
162
|
-
|
|
163
|
-
<li><a href="#method-i-quiet-3D">#quiet=</a>
|
|
164
|
-
|
|
165
|
-
<li><a href="#method-i-quiet-3F">#quiet?</a>
|
|
166
|
-
|
|
167
|
-
<li><a href="#method-i-remove_plugin">#remove_plugin</a>
|
|
168
|
-
|
|
169
|
-
<li><a href="#method-i-render">#render</a>
|
|
170
|
-
|
|
171
|
-
<li><a href="#method-i-render_message">#render_message</a>
|
|
172
|
-
|
|
173
|
-
<li><a href="#method-i-render_options">#render_options</a>
|
|
174
|
-
|
|
175
|
-
<li><a href="#method-i-safe_exec">#safe_exec</a>
|
|
176
|
-
|
|
177
|
-
<li><a href="#method-i-set_meta">#set_meta</a>
|
|
178
|
-
|
|
179
|
-
<li><a href="#method-i-status">#status</a>
|
|
180
|
-
|
|
181
|
-
<li><a href="#method-i-status-3D">#status=</a>
|
|
182
|
-
|
|
183
|
-
<li><a href="#method-i-success">#success</a>
|
|
184
|
-
|
|
185
|
-
<li><a href="#method-i-translate_reference">#translate_reference</a>
|
|
186
|
-
|
|
187
|
-
<li><a href="#method-i-warn">#warn</a>
|
|
188
|
-
|
|
189
|
-
</ul>
|
|
190
|
-
</nav>
|
|
191
|
-
|
|
192
|
-
</div>
|
|
193
|
-
|
|
194
|
-
<div id="project-metadata">
|
|
195
|
-
<nav id="fileindex-section" class="section project-section">
|
|
196
|
-
<h3 class="section-header">Pages</h3>
|
|
197
|
-
|
|
198
|
-
<ul>
|
|
199
|
-
|
|
200
|
-
<li class="file"><a href="../../ARCHITECTURE_rdoc.html">ARCHITECTURE</a>
|
|
201
|
-
|
|
202
|
-
<li class="file"><a href="../../README_rdoc.html">README</a>
|
|
203
|
-
|
|
204
|
-
<li class="file"><a href="../../TODO_rdoc.html">TODO</a>
|
|
205
|
-
|
|
206
|
-
</ul>
|
|
207
|
-
</nav>
|
|
208
|
-
|
|
209
|
-
<nav id="classindex-section" class="section project-section">
|
|
210
|
-
<h3 class="section-header">Class and Module Index</h3>
|
|
211
|
-
|
|
212
|
-
<ul class="link-list">
|
|
213
|
-
|
|
214
|
-
<li><a href="../../Nucleon.html">Nucleon</a>
|
|
215
|
-
|
|
216
|
-
<li><a href="../../Nucleon/Action.html">Nucleon::Action</a>
|
|
217
|
-
|
|
218
|
-
<li><a href="../../Nucleon/Action/Extract.html">Nucleon::Action::Extract</a>
|
|
219
|
-
|
|
220
|
-
<li><a href="../../Nucleon/Action/Project.html">Nucleon::Action::Project</a>
|
|
221
|
-
|
|
222
|
-
<li><a href="../../Nucleon/Action/Project/Add.html">Nucleon::Action::Project::Add</a>
|
|
223
|
-
|
|
224
|
-
<li><a href="../../Nucleon/Action/Project/Create.html">Nucleon::Action::Project::Create</a>
|
|
225
|
-
|
|
226
|
-
<li><a href="../../Nucleon/Action/Project/Remove.html">Nucleon::Action::Project::Remove</a>
|
|
227
|
-
|
|
228
|
-
<li><a href="../../Nucleon/Action/Project/Save.html">Nucleon::Action::Project::Save</a>
|
|
229
|
-
|
|
230
|
-
<li><a href="../../Nucleon/Action/Project/Update.html">Nucleon::Action::Project::Update</a>
|
|
231
|
-
|
|
232
|
-
<li><a href="../../Nucleon/Codes.html">Nucleon::Codes</a>
|
|
233
|
-
|
|
234
|
-
<li><a href="../../Nucleon/Command.html">Nucleon::Command</a>
|
|
235
|
-
|
|
236
|
-
<li><a href="../../Nucleon/Command/Bash.html">Nucleon::Command::Bash</a>
|
|
237
|
-
|
|
238
|
-
<li><a href="../../Nucleon/Config.html">Nucleon::Config</a>
|
|
239
|
-
|
|
240
|
-
<li><a href="../../Nucleon/Config/Collection.html">Nucleon::Config::Collection</a>
|
|
241
|
-
|
|
242
|
-
<li><a href="../../Nucleon/Config/Options.html">Nucleon::Config::Options</a>
|
|
243
|
-
|
|
244
|
-
<li><a href="../../Nucleon/Core.html">Nucleon::Core</a>
|
|
245
|
-
|
|
246
|
-
<li><a href="../../Nucleon/Environment.html">Nucleon::Environment</a>
|
|
247
|
-
|
|
248
|
-
<li><a href="../../Nucleon/Errors.html">Nucleon::Errors</a>
|
|
249
|
-
|
|
250
|
-
<li><a href="../../Nucleon/Errors/BatchError.html">Nucleon::Errors::BatchError</a>
|
|
251
|
-
|
|
252
|
-
<li><a href="../../Nucleon/Errors/NucleonError.html">Nucleon::Errors::NucleonError</a>
|
|
253
|
-
|
|
254
|
-
<li><a href="../../Nucleon/Errors/SSHUnavailable.html">Nucleon::Errors::SSHUnavailable</a>
|
|
255
|
-
|
|
256
|
-
<li><a href="../../Nucleon/Event.html">Nucleon::Event</a>
|
|
257
|
-
|
|
258
|
-
<li><a href="../../Nucleon/Event/Regex.html">Nucleon::Event::Regex</a>
|
|
259
|
-
|
|
260
|
-
<li><a href="../../Nucleon/Facade.html">Nucleon::Facade</a>
|
|
261
|
-
|
|
262
|
-
<li><a href="../../Nucleon/Gems.html">Nucleon::Gems</a>
|
|
263
|
-
|
|
264
|
-
<li><a href="../../Nucleon/Manager.html">Nucleon::Manager</a>
|
|
265
|
-
|
|
266
|
-
<li><a href="../../Nucleon/Mixin.html">Nucleon::Mixin</a>
|
|
267
|
-
|
|
268
|
-
<li><a href="../../Nucleon/Mixin/Action.html">Nucleon::Mixin::Action</a>
|
|
269
|
-
|
|
270
|
-
<li><a href="../../Nucleon/Mixin/Action/Commit.html">Nucleon::Mixin::Action::Commit</a>
|
|
271
|
-
|
|
272
|
-
<li><a href="../../Nucleon/Mixin/Action/Project.html">Nucleon::Mixin::Action::Project</a>
|
|
273
|
-
|
|
274
|
-
<li><a href="../../Nucleon/Mixin/Action/Push.html">Nucleon::Mixin::Action::Push</a>
|
|
275
|
-
|
|
276
|
-
<li><a href="../../Nucleon/Mixin/Action/Registration.html">Nucleon::Mixin::Action::Registration</a>
|
|
277
|
-
|
|
278
|
-
<li><a href="../../Nucleon/Mixin/Colors.html">Nucleon::Mixin::Colors</a>
|
|
279
|
-
|
|
280
|
-
<li><a href="../../Nucleon/Mixin/ConfigCollection.html">Nucleon::Mixin::ConfigCollection</a>
|
|
281
|
-
|
|
282
|
-
<li><a href="../../Nucleon/Mixin/ConfigOptions.html">Nucleon::Mixin::ConfigOptions</a>
|
|
283
|
-
|
|
284
|
-
<li><a href="../../Nucleon/Mixin/Macro.html">Nucleon::Mixin::Macro</a>
|
|
285
|
-
|
|
286
|
-
<li><a href="../../Nucleon/Mixin/Macro/ObjectInterface.html">Nucleon::Mixin::Macro::ObjectInterface</a>
|
|
287
|
-
|
|
288
|
-
<li><a href="../../Nucleon/Mixin/Macro/PluginInterface.html">Nucleon::Mixin::Macro::PluginInterface</a>
|
|
289
|
-
|
|
290
|
-
<li><a href="../../Nucleon/Mixin/Settings.html">Nucleon::Mixin::Settings</a>
|
|
291
|
-
|
|
292
|
-
<li><a href="../../Nucleon/Mixin/SubConfig.html">Nucleon::Mixin::SubConfig</a>
|
|
293
|
-
|
|
294
|
-
<li><a href="../../Nucleon/Parallel.html">Nucleon::Parallel</a>
|
|
295
|
-
|
|
296
|
-
<li><a href="../../Nucleon/Parallel/ClassMethods.html">Nucleon::Parallel::ClassMethods</a>
|
|
297
|
-
|
|
298
|
-
<li><a href="../../Nucleon/Parallel/InstanceMethods.html">Nucleon::Parallel::InstanceMethods</a>
|
|
299
|
-
|
|
300
|
-
<li><a href="../../Nucleon/Plugin.html">Nucleon::Plugin</a>
|
|
301
|
-
|
|
302
|
-
<li><a href="../../Nucleon/Plugin/Action.html">Nucleon::Plugin::Action</a>
|
|
303
|
-
|
|
304
|
-
<li><a href="../../Nucleon/Plugin/Action/Option.html">Nucleon::Plugin::Action::Option</a>
|
|
305
|
-
|
|
306
|
-
<li><a href="../../Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
|
|
307
|
-
|
|
308
|
-
<li><a href="../../Nucleon/Plugin/Command.html">Nucleon::Plugin::Command</a>
|
|
309
|
-
|
|
310
|
-
<li><a href="../../Nucleon/Plugin/Event.html">Nucleon::Plugin::Event</a>
|
|
311
|
-
|
|
312
|
-
<li><a href="../../Nucleon/Plugin/Extension.html">Nucleon::Plugin::Extension</a>
|
|
313
|
-
|
|
314
|
-
<li><a href="../../Nucleon/Plugin/Project.html">Nucleon::Plugin::Project</a>
|
|
315
|
-
|
|
316
|
-
<li><a href="../../Nucleon/Plugin/Template.html">Nucleon::Plugin::Template</a>
|
|
317
|
-
|
|
318
|
-
<li><a href="../../Nucleon/Plugin/Translator.html">Nucleon::Plugin::Translator</a>
|
|
319
|
-
|
|
320
|
-
<li><a href="../../Nucleon/Project.html">Nucleon::Project</a>
|
|
321
|
-
|
|
322
|
-
<li><a href="../../Nucleon/Project/Git.html">Nucleon::Project::Git</a>
|
|
323
|
-
|
|
324
|
-
<li><a href="../../Nucleon/Project/Github.html">Nucleon::Project::Github</a>
|
|
325
|
-
|
|
326
|
-
<li><a href="../../Nucleon/Template.html">Nucleon::Template</a>
|
|
327
|
-
|
|
328
|
-
<li><a href="../../Nucleon/Template/JSON.html">Nucleon::Template::JSON</a>
|
|
329
|
-
|
|
330
|
-
<li><a href="../../Nucleon/Template/Wrapper.html">Nucleon::Template::Wrapper</a>
|
|
331
|
-
|
|
332
|
-
<li><a href="../../Nucleon/Template/YAML.html">Nucleon::Template::YAML</a>
|
|
333
|
-
|
|
334
|
-
<li><a href="../../Nucleon/Translator.html">Nucleon::Translator</a>
|
|
335
|
-
|
|
336
|
-
<li><a href="../../Nucleon/Translator/JSON.html">Nucleon::Translator::JSON</a>
|
|
337
|
-
|
|
338
|
-
<li><a href="../../Nucleon/Translator/YAML.html">Nucleon::Translator::YAML</a>
|
|
339
|
-
|
|
340
|
-
<li><a href="../../Nucleon/Util.html">Nucleon::Util</a>
|
|
341
|
-
|
|
342
|
-
<li><a href="../../Nucleon/Util/CLI.html">Nucleon::Util::CLI</a>
|
|
343
|
-
|
|
344
|
-
<li><a href="../../Nucleon/Util/CLI/Parser.html">Nucleon::Util::CLI::Parser</a>
|
|
345
|
-
|
|
346
|
-
<li><a href="../../Nucleon/Util/Cache.html">Nucleon::Util::Cache</a>
|
|
347
|
-
|
|
348
|
-
<li><a href="../../Nucleon/Util/Console.html">Nucleon::Util::Console</a>
|
|
349
|
-
|
|
350
|
-
<li><a href="../../Nucleon/Util/Data.html">Nucleon::Util::Data</a>
|
|
351
|
-
|
|
352
|
-
<li><a href="../../Nucleon/Util/Disk.html">Nucleon::Util::Disk</a>
|
|
353
|
-
|
|
354
|
-
<li><a href="../../Nucleon/Util/Git.html">Nucleon::Util::Git</a>
|
|
355
|
-
|
|
356
|
-
<li><a href="../../Nucleon/Util/Liquid.html">Nucleon::Util::Liquid</a>
|
|
357
|
-
|
|
358
|
-
<li><a href="../../Nucleon/Util/Logger.html">Nucleon::Util::Logger</a>
|
|
359
|
-
|
|
360
|
-
<li><a href="../../Nucleon/Util/Package.html">Nucleon::Util::Package</a>
|
|
361
|
-
|
|
362
|
-
<li><a href="../../Nucleon/Util/SSH.html">Nucleon::Util::SSH</a>
|
|
363
|
-
|
|
364
|
-
<li><a href="../../Nucleon/Util/SSH/Keypair.html">Nucleon::Util::SSH::Keypair</a>
|
|
365
|
-
|
|
366
|
-
<li><a href="../../Nucleon/Util/Shell.html">Nucleon::Util::Shell</a>
|
|
367
|
-
|
|
368
|
-
<li><a href="../../Nucleon/Util/Shell/Result.html">Nucleon::Util::Shell::Result</a>
|
|
369
|
-
|
|
370
|
-
<li><a href="../../Hash.html">Hash</a>
|
|
371
|
-
|
|
372
|
-
<li><a href="../../Kernel.html">Kernel</a>
|
|
373
|
-
|
|
374
|
-
</ul>
|
|
375
|
-
</nav>
|
|
376
|
-
|
|
377
|
-
</div>
|
|
378
|
-
</nav>
|
|
379
|
-
|
|
380
|
-
<div id="documentation">
|
|
381
|
-
<h1 class="class">class Nucleon::Plugin::Base</h1>
|
|
382
|
-
|
|
383
|
-
<div id="description" class="description">
|
|
384
|
-
|
|
385
|
-
</div><!-- description -->
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
<!-- Methods -->
|
|
400
|
-
|
|
401
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
|
402
|
-
<h3 class="section-header">Public Class Methods</h3>
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
<div id="method-c-build_info" class="method-detail ">
|
|
406
|
-
|
|
407
|
-
<div class="method-heading">
|
|
408
|
-
<span class="method-name">build_info</span><span
|
|
409
|
-
class="method-args">(namespace, plugin_type, data)</span>
|
|
410
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
411
|
-
</div>
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
<div class="method-description">
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
<div class="method-source-code" id="build_info-source">
|
|
421
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 305</span>
|
|
422
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">build_info</span>(<span class="ruby-identifier">namespace</span>, <span class="ruby-identifier">plugin_type</span>, <span class="ruby-identifier">data</span>)
|
|
423
|
-
<span class="ruby-identifier">plugins</span> = []
|
|
424
|
-
|
|
425
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>)
|
|
426
|
-
<span class="ruby-identifier">data</span> = [ <span class="ruby-identifier">data</span> ]
|
|
427
|
-
<span class="ruby-keyword">end</span>
|
|
428
|
-
|
|
429
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Building plugin list of #{plugin_type}"</span>)
|
|
430
|
-
|
|
431
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
|
|
432
|
-
<span class="ruby-identifier">data</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">info</span><span class="ruby-operator">|</span>
|
|
433
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-constant">Util</span><span class="ruby-operator">::</span><span class="ruby-constant">Data</span>.<span class="ruby-identifier">empty?</span>(<span class="ruby-identifier">info</span>)
|
|
434
|
-
<span class="ruby-identifier">info</span> = <span class="ruby-identifier">translate</span>(<span class="ruby-identifier">info</span>)
|
|
435
|
-
|
|
436
|
-
<span class="ruby-keyword">if</span> <span class="ruby-constant">Util</span><span class="ruby-operator">::</span><span class="ruby-constant">Data</span>.<span class="ruby-identifier">empty?</span>(<span class="ruby-identifier">info</span>[<span class="ruby-value">:provider</span>])
|
|
437
|
-
<span class="ruby-identifier">info</span>[<span class="ruby-value">:provider</span>] = <span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">type_default</span>(<span class="ruby-identifier">namespace</span>, <span class="ruby-identifier">plugin_type</span>)
|
|
438
|
-
<span class="ruby-keyword">end</span>
|
|
439
|
-
|
|
440
|
-
<span class="ruby-identifier">plugins</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">info</span>
|
|
441
|
-
<span class="ruby-keyword">end</span>
|
|
442
|
-
<span class="ruby-keyword">end</span>
|
|
443
|
-
<span class="ruby-keyword">end</span>
|
|
444
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">plugins</span>
|
|
445
|
-
<span class="ruby-keyword">end</span></pre>
|
|
446
|
-
</div><!-- build_info-source -->
|
|
447
|
-
|
|
448
|
-
</div>
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
</div><!-- build_info-method -->
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
<div id="method-c-init_plugin_collection" class="method-detail ">
|
|
457
|
-
|
|
458
|
-
<div class="method-heading">
|
|
459
|
-
<span class="method-name">init_plugin_collection</span><span
|
|
460
|
-
class="method-args">(*external_block_methods)</span>
|
|
461
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
462
|
-
</div>
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
<div class="method-description">
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
<div class="method-source-code" id="init_plugin_collection-source">
|
|
472
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 366</span>
|
|
473
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">init_plugin_collection</span>(*<span class="ruby-identifier">external_block_methods</span>)
|
|
474
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Initializing plugin collection interface at #{Time.now}"</span>)
|
|
475
|
-
|
|
476
|
-
<span class="ruby-identifier">include</span> <span class="ruby-constant">Parallel</span>
|
|
477
|
-
<span class="ruby-identifier">external_block_exec</span>(*<span class="ruby-identifier">external_block_methods</span>)
|
|
478
|
-
|
|
479
|
-
<span class="ruby-identifier">include</span> <span class="ruby-constant">Mixin</span><span class="ruby-operator">::</span><span class="ruby-constant">Settings</span>
|
|
480
|
-
<span class="ruby-identifier">include</span> <span class="ruby-constant">Mixin</span><span class="ruby-operator">::</span><span class="ruby-constant">SubConfig</span>
|
|
481
|
-
|
|
482
|
-
<span class="ruby-identifier">extend</span> <span class="ruby-constant">Mixin</span><span class="ruby-operator">::</span><span class="ruby-constant">Macro</span><span class="ruby-operator">::</span><span class="ruby-constant">PluginInterface</span>
|
|
483
|
-
<span class="ruby-keyword">end</span></pre>
|
|
484
|
-
</div><!-- init_plugin_collection-source -->
|
|
485
|
-
|
|
486
|
-
</div>
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
</div><!-- init_plugin_collection-method -->
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
<div id="method-c-new" class="method-detail ">
|
|
495
|
-
|
|
496
|
-
<div class="method-heading">
|
|
497
|
-
<span class="method-name">new</span><span
|
|
498
|
-
class="method-args">(namespace, plugin_type, provider, options)</span>
|
|
499
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
500
|
-
</div>
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
<div class="method-description">
|
|
504
|
-
|
|
505
|
-
<p>All <a href="../Plugin.html">Plugin</a> classes should directly or
|
|
506
|
-
indirectly extend <a href="Base.html">Base</a></p>
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
<div class="method-source-code" id="new-source">
|
|
511
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 12</span>
|
|
512
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">namespace</span>, <span class="ruby-identifier">plugin_type</span>, <span class="ruby-identifier">provider</span>, <span class="ruby-identifier">options</span>)
|
|
513
|
-
<span class="ruby-ivar">@actor</span> = <span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">handle</span>(<span class="ruby-keyword">self</span>)
|
|
514
|
-
|
|
515
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Util</span><span class="ruby-operator">::</span><span class="ruby-constant">Data</span>.<span class="ruby-identifier">clean</span>(<span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>), <span class="ruby-keyword">false</span>)
|
|
516
|
-
<span class="ruby-identifier">name</span> = <span class="ruby-constant">Util</span><span class="ruby-operator">::</span><span class="ruby-constant">Data</span>.<span class="ruby-identifier">ensure_value</span>(<span class="ruby-identifier">config</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:plugin_name</span>), <span class="ruby-identifier">config</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:name</span>, <span class="ruby-identifier">provider</span>))
|
|
517
|
-
|
|
518
|
-
<span class="ruby-ivar">@quiet</span> = <span class="ruby-identifier">config</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:quiet</span>, <span class="ruby-keyword">false</span>)
|
|
519
|
-
|
|
520
|
-
<span class="ruby-identifier">set_meta</span>(<span class="ruby-identifier">config</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:meta</span>, <span class="ruby-constant">Config</span>.<span class="ruby-identifier">new</span>))
|
|
521
|
-
|
|
522
|
-
<span class="ruby-comment"># No logging statements above this line!!</span>
|
|
523
|
-
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>({ <span class="ruby-value">:logger</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{namespace}->#{plugin_type}->#{plugin_provider}"</span> }), {}, <span class="ruby-keyword">true</span>, <span class="ruby-keyword">false</span>)
|
|
524
|
-
<span class="ruby-identifier">myself</span>.<span class="ruby-identifier">plugin_name</span> = <span class="ruby-identifier">name</span>
|
|
525
|
-
|
|
526
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Normalizing #{namespace} #{plugin_type} plugin #{plugin_name}"</span>)
|
|
527
|
-
<span class="ruby-identifier">normalize</span>(<span class="ruby-keyword">false</span>)
|
|
528
|
-
|
|
529
|
-
<span class="ruby-ivar">@initialized</span> = <span class="ruby-keyword">true</span>
|
|
530
|
-
<span class="ruby-keyword">end</span></pre>
|
|
531
|
-
</div><!-- new-source -->
|
|
532
|
-
|
|
533
|
-
</div>
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
</div><!-- new-method -->
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
<div id="method-c-register_ids" class="method-detail ">
|
|
542
|
-
|
|
543
|
-
<div class="method-heading">
|
|
544
|
-
<span class="method-name">register_ids</span><span
|
|
545
|
-
class="method-args">()</span>
|
|
546
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
547
|
-
</div>
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
<div class="method-description">
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
<div class="method-source-code" id="register_ids-source">
|
|
557
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 6</span>
|
|
558
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">register_ids</span>
|
|
559
|
-
[ <span class="ruby-value">:plugin_name</span>, <span class="ruby-value">:name</span> ]
|
|
560
|
-
<span class="ruby-keyword">end</span></pre>
|
|
561
|
-
</div><!-- register_ids-source -->
|
|
562
|
-
|
|
563
|
-
</div>
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
</div><!-- register_ids-method -->
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
<div id="method-c-translate" class="method-detail ">
|
|
572
|
-
|
|
573
|
-
<div class="method-heading">
|
|
574
|
-
<span class="method-name">translate</span><span
|
|
575
|
-
class="method-args">(data)</span>
|
|
576
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
577
|
-
</div>
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
<div class="method-description">
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
<div class="method-source-code" id="translate-source">
|
|
587
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 332</span>
|
|
588
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">translate</span>(<span class="ruby-identifier">data</span>)
|
|
589
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-string">"Translating input data to internal plugin structure"</span>)
|
|
590
|
-
<span class="ruby-keyword">return</span> ( <span class="ruby-identifier">data</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">symbol_map</span>(<span class="ruby-identifier">data</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">data</span> )
|
|
591
|
-
<span class="ruby-keyword">end</span></pre>
|
|
592
|
-
</div><!-- translate-source -->
|
|
593
|
-
|
|
594
|
-
</div>
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
</div><!-- translate-method -->
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
<div id="method-c-translate_reference" class="method-detail ">
|
|
603
|
-
|
|
604
|
-
<div class="method-heading">
|
|
605
|
-
<span class="method-name">translate_reference</span><span
|
|
606
|
-
class="method-args">(reference, editable = false)</span>
|
|
607
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
608
|
-
</div>
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
<div class="method-description">
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
<div class="method-source-code" id="translate_reference-source">
|
|
618
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 339</span>
|
|
619
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">translate_reference</span>(<span class="ruby-identifier">reference</span>, <span class="ruby-identifier">editable</span> = <span class="ruby-keyword">false</span>)
|
|
620
|
-
<span class="ruby-comment"># ex: provider:::name</span>
|
|
621
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">reference</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">reference</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">/^\s*([a-zA-Z0-9_-]+)(?::::)?(.*)?\s*$/</span>)
|
|
622
|
-
<span class="ruby-identifier">provider</span> = <span class="ruby-node">$1</span>
|
|
623
|
-
<span class="ruby-identifier">name</span> = <span class="ruby-node">$2</span>
|
|
624
|
-
|
|
625
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Translating plugin reference: #{provider} #{name}"</span>)
|
|
626
|
-
|
|
627
|
-
<span class="ruby-identifier">info</span> = {
|
|
628
|
-
<span class="ruby-value">:provider</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">provider</span>,
|
|
629
|
-
<span class="ruby-value">:name</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">name</span>
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">debug</span>(<span class="ruby-node">"Plugin reference info: #{info.inspect}"</span>)
|
|
633
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">info</span>
|
|
634
|
-
<span class="ruby-keyword">end</span>
|
|
635
|
-
<span class="ruby-keyword">nil</span>
|
|
636
|
-
<span class="ruby-keyword">end</span></pre>
|
|
637
|
-
</div><!-- translate_reference-source -->
|
|
638
|
-
|
|
639
|
-
</div>
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
</div><!-- translate_reference-method -->
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
</section><!-- public-class-method-details -->
|
|
648
|
-
|
|
649
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
|
650
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
<div id="method-i-admin_exec" class="method-detail ">
|
|
654
|
-
|
|
655
|
-
<div class="method-heading">
|
|
656
|
-
<span class="method-name">admin_exec</span><span
|
|
657
|
-
class="method-args">(return_result = true, &block)</span>
|
|
658
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
659
|
-
</div>
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
<div class="method-description">
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
<div class="method-source-code" id="admin_exec-source">
|
|
669
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 397</span>
|
|
670
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">admin_exec</span>(<span class="ruby-identifier">return_result</span> = <span class="ruby-keyword">true</span>, &<span class="ruby-identifier">block</span>)
|
|
671
|
-
<span class="ruby-keyword">if</span> <span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">admin?</span>
|
|
672
|
-
<span class="ruby-identifier">safe_exec</span>(<span class="ruby-identifier">return_result</span>, &<span class="ruby-identifier">block</span>)
|
|
673
|
-
<span class="ruby-keyword">else</span>
|
|
674
|
-
<span class="ruby-identifier">warn</span>(<span class="ruby-node">"The #{plugin_provider} action must be run as a machine administrator"</span>, { <span class="ruby-value">:i18n</span> =<span class="ruby-operator">></span> <span class="ruby-keyword">false</span> })
|
|
675
|
-
<span class="ruby-identifier">myself</span>.<span class="ruby-identifier">status</span> = <span class="ruby-identifier">code</span>.<span class="ruby-identifier">access_denied</span>
|
|
676
|
-
<span class="ruby-keyword">end</span>
|
|
677
|
-
<span class="ruby-keyword">end</span></pre>
|
|
678
|
-
</div><!-- admin_exec-source -->
|
|
679
|
-
|
|
680
|
-
</div>
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
</div><!-- admin_exec-method -->
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
<div id="method-i-ask" class="method-detail ">
|
|
689
|
-
|
|
690
|
-
<div class="method-heading">
|
|
691
|
-
<span class="method-name">ask</span><span
|
|
692
|
-
class="method-args">(message, options = {})</span>
|
|
693
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
694
|
-
</div>
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
<div class="method-description">
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
<div class="method-source-code" id="ask-source">
|
|
704
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 209</span>
|
|
705
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">ask</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">options</span> = {})
|
|
706
|
-
<span class="ruby-identifier">ui</span>.<span class="ruby-identifier">ask</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">options</span>)
|
|
707
|
-
<span class="ruby-keyword">end</span></pre>
|
|
708
|
-
</div><!-- ask-source -->
|
|
709
|
-
|
|
710
|
-
</div>
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
</div><!-- ask-method -->
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
<div id="method-i-code" class="method-detail ">
|
|
719
|
-
|
|
720
|
-
<div class="method-heading">
|
|
721
|
-
<span class="method-name">code</span><span
|
|
722
|
-
class="method-args">()</span>
|
|
723
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
724
|
-
</div>
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
<div class="method-description">
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
<div class="method-source-code" id="code-source">
|
|
734
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 142</span>
|
|
735
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">code</span>
|
|
736
|
-
<span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">code</span>
|
|
737
|
-
<span class="ruby-keyword">end</span></pre>
|
|
738
|
-
</div><!-- code-source -->
|
|
739
|
-
|
|
740
|
-
</div>
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
</div><!-- code-method -->
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
<div id="method-i-codes" class="method-detail ">
|
|
749
|
-
|
|
750
|
-
<div class="method-heading">
|
|
751
|
-
<span class="method-name">codes</span><span
|
|
752
|
-
class="method-args">(*codes)</span>
|
|
753
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
754
|
-
</div>
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
<div class="method-description">
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
<div class="method-source-code" id="codes-source">
|
|
764
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 146</span>
|
|
765
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">codes</span>(*<span class="ruby-identifier">codes</span>)
|
|
766
|
-
<span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">codes</span>(*<span class="ruby-identifier">codes</span>)
|
|
767
|
-
<span class="ruby-keyword">end</span></pre>
|
|
768
|
-
</div><!-- codes-source -->
|
|
769
|
-
|
|
770
|
-
</div>
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
</div><!-- codes-method -->
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
<div id="method-i-error" class="method-detail ">
|
|
779
|
-
|
|
780
|
-
<div class="method-heading">
|
|
781
|
-
<span class="method-name">error</span><span
|
|
782
|
-
class="method-args">(message, options = {})</span>
|
|
783
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
784
|
-
</div>
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
<div class="method-description">
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
<div class="method-source-code" id="error-source">
|
|
794
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 280</span>
|
|
795
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">error</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">options</span> = {})
|
|
796
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
797
|
-
|
|
798
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">quiet?</span>
|
|
799
|
-
<span class="ruby-identifier">message</span> = <span class="ruby-identifier">render_message</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">config</span>)
|
|
800
|
-
<span class="ruby-identifier">ui</span>.<span class="ruby-identifier">error</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">config</span>.<span class="ruby-identifier">export</span>)
|
|
801
|
-
<span class="ruby-keyword">end</span>
|
|
802
|
-
<span class="ruby-identifier">message</span>
|
|
803
|
-
<span class="ruby-keyword">end</span></pre>
|
|
804
|
-
</div><!-- error-source -->
|
|
805
|
-
|
|
806
|
-
</div>
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
</div><!-- error-method -->
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
<div id="method-i-extended_config" class="method-detail ">
|
|
815
|
-
|
|
816
|
-
<div class="method-heading">
|
|
817
|
-
<span class="method-name">extended_config</span><span
|
|
818
|
-
class="method-args">(type, options = {})</span>
|
|
819
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
820
|
-
</div>
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
<div class="method-description">
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
<div class="method-source-code" id="extended_config-source">
|
|
830
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 182</span>
|
|
831
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">extended_config</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">options</span> = {})
|
|
832
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">config</span>(<span class="ruby-identifier">type</span>, <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">import</span>({ <span class="ruby-value">:plugin</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">myself</span> }))
|
|
833
|
-
<span class="ruby-identifier">config</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:plugin</span>)
|
|
834
|
-
<span class="ruby-identifier">config</span>
|
|
835
|
-
<span class="ruby-keyword">end</span></pre>
|
|
836
|
-
</div><!-- extended_config-source -->
|
|
837
|
-
|
|
838
|
-
</div>
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
</div><!-- extended_config-method -->
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
<div id="method-i-extension" class="method-detail ">
|
|
847
|
-
|
|
848
|
-
<div class="method-heading">
|
|
849
|
-
<span class="method-name">extension</span><span
|
|
850
|
-
class="method-args">(hook, options = {}, &code)</span>
|
|
851
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
852
|
-
</div>
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
<div class="method-description">
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
<div class="method-source-code" id="extension-source">
|
|
862
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 176</span>
|
|
863
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">extension</span>(<span class="ruby-identifier">hook</span>, <span class="ruby-identifier">options</span> = {}, &<span class="ruby-identifier">code</span>)
|
|
864
|
-
<span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">exec</span>(<span class="ruby-identifier">hook_method</span>(<span class="ruby-identifier">hook</span>), <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">import</span>({ <span class="ruby-value">:plugin</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">myself</span> }), &<span class="ruby-identifier">code</span>)
|
|
865
|
-
<span class="ruby-keyword">end</span></pre>
|
|
866
|
-
</div><!-- extension-source -->
|
|
867
|
-
|
|
868
|
-
</div>
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
</div><!-- extension-method -->
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
<div id="method-i-extension_check" class="method-detail ">
|
|
877
|
-
|
|
878
|
-
<div class="method-heading">
|
|
879
|
-
<span class="method-name">extension_check</span><span
|
|
880
|
-
class="method-args">(hook, options = {})</span>
|
|
881
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
882
|
-
</div>
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
<div class="method-description">
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
<div class="method-source-code" id="extension_check-source">
|
|
892
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 190</span>
|
|
893
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">extension_check</span>(<span class="ruby-identifier">hook</span>, <span class="ruby-identifier">options</span> = {})
|
|
894
|
-
<span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">check</span>(<span class="ruby-identifier">hook_method</span>(<span class="ruby-identifier">hook</span>), <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">import</span>({ <span class="ruby-value">:plugin</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">myself</span> }))
|
|
895
|
-
<span class="ruby-keyword">end</span></pre>
|
|
896
|
-
</div><!-- extension_check-source -->
|
|
897
|
-
|
|
898
|
-
</div>
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
</div><!-- extension_check-method -->
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
<div id="method-i-extension_collect" class="method-detail ">
|
|
907
|
-
|
|
908
|
-
<div class="method-heading">
|
|
909
|
-
<span class="method-name">extension_collect</span><span
|
|
910
|
-
class="method-args">(hook, options = {})</span>
|
|
911
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
912
|
-
</div>
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
<div class="method-description">
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
<div class="method-source-code" id="extension_collect-source">
|
|
922
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 202</span>
|
|
923
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">extension_collect</span>(<span class="ruby-identifier">hook</span>, <span class="ruby-identifier">options</span> = {})
|
|
924
|
-
<span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">collect</span>(<span class="ruby-identifier">hook_method</span>(<span class="ruby-identifier">hook</span>), <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">import</span>({ <span class="ruby-value">:plugin</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">myself</span> }))
|
|
925
|
-
<span class="ruby-keyword">end</span></pre>
|
|
926
|
-
</div><!-- extension_collect-source -->
|
|
927
|
-
|
|
928
|
-
</div>
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
</div><!-- extension_collect-method -->
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
<div id="method-i-extension_set" class="method-detail ">
|
|
937
|
-
|
|
938
|
-
<div class="method-heading">
|
|
939
|
-
<span class="method-name">extension_set</span><span
|
|
940
|
-
class="method-args">(hook, value, options = {})</span>
|
|
941
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
942
|
-
</div>
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
<div class="method-description">
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
<div class="method-source-code" id="extension_set-source">
|
|
952
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 196</span>
|
|
953
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">extension_set</span>(<span class="ruby-identifier">hook</span>, <span class="ruby-identifier">value</span>, <span class="ruby-identifier">options</span> = {})
|
|
954
|
-
<span class="ruby-constant">Nucleon</span>.<span class="ruby-identifier">value</span>(<span class="ruby-identifier">hook_method</span>(<span class="ruby-identifier">hook</span>), <span class="ruby-identifier">value</span>, <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">import</span>({ <span class="ruby-value">:plugin</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">myself</span> }))
|
|
955
|
-
<span class="ruby-keyword">end</span></pre>
|
|
956
|
-
</div><!-- extension_set-source -->
|
|
957
|
-
|
|
958
|
-
</div>
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
</div><!-- extension_set-method -->
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
<div id="method-i-hook_method" class="method-detail ">
|
|
967
|
-
|
|
968
|
-
<div class="method-heading">
|
|
969
|
-
<span class="method-name">hook_method</span><span
|
|
970
|
-
class="method-args">(hook)</span>
|
|
971
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
972
|
-
</div>
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
<div class="method-description">
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
<div class="method-source-code" id="hook_method-source">
|
|
982
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 170</span>
|
|
983
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">hook_method</span>(<span class="ruby-identifier">hook</span>)
|
|
984
|
-
<span class="ruby-node">"#{plugin_type}_#{plugin_provider}_#{hook}"</span>
|
|
985
|
-
<span class="ruby-keyword">end</span></pre>
|
|
986
|
-
</div><!-- hook_method-source -->
|
|
987
|
-
|
|
988
|
-
</div>
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
</div><!-- hook_method-method -->
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
<div id="method-i-info" class="method-detail ">
|
|
997
|
-
|
|
998
|
-
<div class="method-heading">
|
|
999
|
-
<span class="method-name">info</span><span
|
|
1000
|
-
class="method-args">(message, options = {})</span>
|
|
1001
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1002
|
-
</div>
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
<div class="method-description">
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
<div class="method-source-code" id="info-source">
|
|
1012
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 256</span>
|
|
1013
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">info</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">options</span> = {})
|
|
1014
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
1015
|
-
|
|
1016
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">quiet?</span>
|
|
1017
|
-
<span class="ruby-identifier">message</span> = <span class="ruby-identifier">render_message</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">config</span>)
|
|
1018
|
-
<span class="ruby-identifier">ui</span>.<span class="ruby-identifier">info</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">config</span>.<span class="ruby-identifier">export</span>)
|
|
1019
|
-
<span class="ruby-keyword">end</span>
|
|
1020
|
-
<span class="ruby-identifier">message</span>
|
|
1021
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1022
|
-
</div><!-- info-source -->
|
|
1023
|
-
|
|
1024
|
-
</div>
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
</div><!-- info-method -->
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
<div id="method-i-me" class="method-detail method-alias">
|
|
1033
|
-
|
|
1034
|
-
<div class="method-heading">
|
|
1035
|
-
<span class="method-name">me</span><span
|
|
1036
|
-
class="method-args">()</span>
|
|
1037
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1038
|
-
</div>
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
<div class="method-description">
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
</div>
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
<div class="aliases">
|
|
1053
|
-
Alias for: <a href="Base.html#method-i-myself">myself</a>
|
|
1054
|
-
</div>
|
|
1055
|
-
|
|
1056
|
-
</div><!-- me-method -->
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
<div id="method-i-meta" class="method-detail ">
|
|
1060
|
-
|
|
1061
|
-
<div class="method-heading">
|
|
1062
|
-
<span class="method-name">meta</span><span
|
|
1063
|
-
class="method-args">()</span>
|
|
1064
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1065
|
-
</div>
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
<div class="method-description">
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
<div class="method-source-code" id="meta-source">
|
|
1075
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 73</span>
|
|
1076
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">meta</span>
|
|
1077
|
-
<span class="ruby-keyword">return</span> <span class="ruby-ivar">@meta</span>
|
|
1078
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1079
|
-
</div><!-- meta-source -->
|
|
1080
|
-
|
|
1081
|
-
</div>
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
</div><!-- meta-method -->
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
<div id="method-i-method_missing" class="method-detail ">
|
|
1090
|
-
|
|
1091
|
-
<div class="method-heading">
|
|
1092
|
-
<span class="method-name">method_missing</span><span
|
|
1093
|
-
class="method-args">(method, *args, &block)</span>
|
|
1094
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1095
|
-
</div>
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
<div class="method-description">
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
<div class="method-source-code" id="method_missing-source">
|
|
1105
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 40</span>
|
|
1106
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">method</span>, *<span class="ruby-identifier">args</span>, &<span class="ruby-identifier">block</span>)
|
|
1107
|
-
<span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span>
|
|
1108
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1109
|
-
</div><!-- method_missing-source -->
|
|
1110
|
-
|
|
1111
|
-
</div>
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
</div><!-- method_missing-method -->
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
<div id="method-i-myself" class="method-detail ">
|
|
1120
|
-
|
|
1121
|
-
<div class="method-heading">
|
|
1122
|
-
<span class="method-name">myself</span><span
|
|
1123
|
-
class="method-args">()</span>
|
|
1124
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1125
|
-
</div>
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
<div class="method-description">
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
<div class="method-source-code" id="myself-source">
|
|
1135
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 60</span>
|
|
1136
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">myself</span>
|
|
1137
|
-
<span class="ruby-ivar">@actor</span>
|
|
1138
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1139
|
-
</div><!-- myself-source -->
|
|
1140
|
-
|
|
1141
|
-
</div>
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
<div class="aliases">
|
|
1145
|
-
Also aliased as: <a href="Base.html#method-i-me">me</a>
|
|
1146
|
-
</div>
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
</div><!-- myself-method -->
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
<div id="method-i-normalize" class="method-detail ">
|
|
1154
|
-
|
|
1155
|
-
<div class="method-heading">
|
|
1156
|
-
<span class="method-name">normalize</span><span
|
|
1157
|
-
class="method-args">(reload)</span>
|
|
1158
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1159
|
-
</div>
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
<div class="method-description">
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
<div class="method-source-code" id="normalize-source">
|
|
1169
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 163</span>
|
|
1170
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">normalize</span>(<span class="ruby-identifier">reload</span>)
|
|
1171
|
-
<span class="ruby-comment"># Implement in sub classes</span>
|
|
1172
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1173
|
-
</div><!-- normalize-source -->
|
|
1174
|
-
|
|
1175
|
-
</div>
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
</div><!-- normalize-method -->
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
<div id="method-i-parallel_finalize" class="method-detail ">
|
|
1184
|
-
|
|
1185
|
-
<div class="method-heading">
|
|
1186
|
-
<span class="method-name">parallel_finalize</span><span
|
|
1187
|
-
class="method-args">()</span>
|
|
1188
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1189
|
-
</div>
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
<div class="method-description">
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
<div class="method-source-code" id="parallel_finalize-source">
|
|
1199
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 34</span>
|
|
1200
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">parallel_finalize</span>
|
|
1201
|
-
<span class="ruby-identifier">remove_plugin</span>
|
|
1202
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1203
|
-
</div><!-- parallel_finalize-source -->
|
|
1204
|
-
|
|
1205
|
-
</div>
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
</div><!-- parallel_finalize-method -->
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
<div id="method-i-password" class="method-detail ">
|
|
1214
|
-
|
|
1215
|
-
<div class="method-heading">
|
|
1216
|
-
<span class="method-name">password</span><span
|
|
1217
|
-
class="method-args">(type, options = {})</span>
|
|
1218
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1219
|
-
</div>
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
<div class="method-description">
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
<div class="method-source-code" id="password-source">
|
|
1229
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 215</span>
|
|
1230
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">password</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">options</span> = {})
|
|
1231
|
-
<span class="ruby-identifier">ui</span>.<span class="ruby-identifier">password</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">options</span>)
|
|
1232
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1233
|
-
</div><!-- password-source -->
|
|
1234
|
-
|
|
1235
|
-
</div>
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
</div><!-- password-method -->
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
<div id="method-i-plugin_directory" class="method-detail ">
|
|
1244
|
-
|
|
1245
|
-
<div class="method-heading">
|
|
1246
|
-
<span class="method-name">plugin_directory</span><span
|
|
1247
|
-
class="method-args">()</span>
|
|
1248
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1249
|
-
</div>
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
<div class="method-description">
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
<div class="method-source-code" id="plugin_directory-source">
|
|
1259
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 113</span>
|
|
1260
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_directory</span>
|
|
1261
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:directory</span>)
|
|
1262
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1263
|
-
</div><!-- plugin_directory-source -->
|
|
1264
|
-
|
|
1265
|
-
</div>
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
</div><!-- plugin_directory-method -->
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
<div id="method-i-plugin_file" class="method-detail ">
|
|
1274
|
-
|
|
1275
|
-
<div class="method-heading">
|
|
1276
|
-
<span class="method-name">plugin_file</span><span
|
|
1277
|
-
class="method-args">()</span>
|
|
1278
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1279
|
-
</div>
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
<div class="method-description">
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
<div class="method-source-code" id="plugin_file-source">
|
|
1289
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 119</span>
|
|
1290
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_file</span>
|
|
1291
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:file</span>)
|
|
1292
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1293
|
-
</div><!-- plugin_file-source -->
|
|
1294
|
-
|
|
1295
|
-
</div>
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
</div><!-- plugin_file-method -->
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
<div id="method-i-plugin_instance_name" class="method-detail ">
|
|
1304
|
-
|
|
1305
|
-
<div class="method-heading">
|
|
1306
|
-
<span class="method-name">plugin_instance_name</span><span
|
|
1307
|
-
class="method-args">()</span>
|
|
1308
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1309
|
-
</div>
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
<div class="method-description">
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
<div class="method-source-code" id="plugin_instance_name-source">
|
|
1319
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 125</span>
|
|
1320
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_instance_name</span>
|
|
1321
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:instance_name</span>)
|
|
1322
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1323
|
-
</div><!-- plugin_instance_name-source -->
|
|
1324
|
-
|
|
1325
|
-
</div>
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
</div><!-- plugin_instance_name-method -->
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
<div id="method-i-plugin_name" class="method-detail ">
|
|
1334
|
-
|
|
1335
|
-
<div class="method-heading">
|
|
1336
|
-
<span class="method-name">plugin_name</span><span
|
|
1337
|
-
class="method-args">()</span>
|
|
1338
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1339
|
-
</div>
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
<div class="method-description">
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
<div class="method-source-code" id="plugin_name-source">
|
|
1349
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 103</span>
|
|
1350
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_name</span>
|
|
1351
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:name</span>)
|
|
1352
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1353
|
-
</div><!-- plugin_name-source -->
|
|
1354
|
-
|
|
1355
|
-
</div>
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
</div><!-- plugin_name-method -->
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
<div id="method-i-plugin_name-3D" class="method-detail ">
|
|
1364
|
-
|
|
1365
|
-
<div class="method-heading">
|
|
1366
|
-
<span class="method-name">plugin_name=</span><span
|
|
1367
|
-
class="method-args">(plugin_name)</span>
|
|
1368
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1369
|
-
</div>
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
<div class="method-description">
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
<div class="method-source-code" id="plugin_name-3D-source">
|
|
1379
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 107</span>
|
|
1380
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_name=</span><span class="ruby-identifier">plugin_name</span>
|
|
1381
|
-
<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">set</span>(<span class="ruby-value">:name</span>, <span class="ruby-identifier">string</span>(<span class="ruby-identifier">plugin_name</span>))
|
|
1382
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1383
|
-
</div><!-- plugin_name-3D-source -->
|
|
1384
|
-
|
|
1385
|
-
</div>
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
</div><!-- plugin_name-3D-method -->
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
<div id="method-i-plugin_namespace" class="method-detail ">
|
|
1394
|
-
|
|
1395
|
-
<div class="method-heading">
|
|
1396
|
-
<span class="method-name">plugin_namespace</span><span
|
|
1397
|
-
class="method-args">()</span>
|
|
1398
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1399
|
-
</div>
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
<div class="method-description">
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
<div class="method-source-code" id="plugin_namespace-source">
|
|
1409
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 85</span>
|
|
1410
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_namespace</span>
|
|
1411
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:namespace</span>)
|
|
1412
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1413
|
-
</div><!-- plugin_namespace-source -->
|
|
1414
|
-
|
|
1415
|
-
</div>
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
</div><!-- plugin_namespace-method -->
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
<div id="method-i-plugin_parent" class="method-detail ">
|
|
1424
|
-
|
|
1425
|
-
<div class="method-heading">
|
|
1426
|
-
<span class="method-name">plugin_parent</span><span
|
|
1427
|
-
class="method-args">()</span>
|
|
1428
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1429
|
-
</div>
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
<div class="method-description">
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
<div class="method-source-code" id="plugin_parent-source">
|
|
1439
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 135</span>
|
|
1440
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_parent</span>
|
|
1441
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:parent</span>)
|
|
1442
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1443
|
-
</div><!-- plugin_parent-source -->
|
|
1444
|
-
|
|
1445
|
-
</div>
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
</div><!-- plugin_parent-method -->
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
<div id="method-i-plugin_parent-3D" class="method-detail ">
|
|
1454
|
-
|
|
1455
|
-
<div class="method-heading">
|
|
1456
|
-
<span class="method-name">plugin_parent=</span><span
|
|
1457
|
-
class="method-args">(parent)</span>
|
|
1458
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1459
|
-
</div>
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
<div class="method-description">
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
<div class="method-source-code" id="plugin_parent-3D-source">
|
|
1469
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 131</span>
|
|
1470
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_parent=</span><span class="ruby-identifier">parent</span>
|
|
1471
|
-
<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">set</span>(<span class="ruby-value">:parent</span>, <span class="ruby-identifier">parent</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">parent</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Nucleon</span><span class="ruby-operator">::</span><span class="ruby-constant">Plugin</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>)
|
|
1472
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1473
|
-
</div><!-- plugin_parent-3D-source -->
|
|
1474
|
-
|
|
1475
|
-
</div>
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
</div><!-- plugin_parent-3D-method -->
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
<div id="method-i-plugin_provider" class="method-detail ">
|
|
1484
|
-
|
|
1485
|
-
<div class="method-heading">
|
|
1486
|
-
<span class="method-name">plugin_provider</span><span
|
|
1487
|
-
class="method-args">()</span>
|
|
1488
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1489
|
-
</div>
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
<div class="method-description">
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
<div class="method-source-code" id="plugin_provider-source">
|
|
1499
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 97</span>
|
|
1500
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_provider</span>
|
|
1501
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:provider</span>)
|
|
1502
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1503
|
-
</div><!-- plugin_provider-source -->
|
|
1504
|
-
|
|
1505
|
-
</div>
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
</div><!-- plugin_provider-method -->
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
<div id="method-i-plugin_type" class="method-detail ">
|
|
1514
|
-
|
|
1515
|
-
<div class="method-heading">
|
|
1516
|
-
<span class="method-name">plugin_type</span><span
|
|
1517
|
-
class="method-args">()</span>
|
|
1518
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1519
|
-
</div>
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
<div class="method-description">
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
<div class="method-source-code" id="plugin_type-source">
|
|
1529
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 91</span>
|
|
1530
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">plugin_type</span>
|
|
1531
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:type</span>)
|
|
1532
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1533
|
-
</div><!-- plugin_type-source -->
|
|
1534
|
-
|
|
1535
|
-
</div>
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
</div><!-- plugin_type-method -->
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
<div id="method-i-quiet-3D" class="method-detail ">
|
|
1544
|
-
|
|
1545
|
-
<div class="method-heading">
|
|
1546
|
-
<span class="method-name">quiet=</span><span
|
|
1547
|
-
class="method-args">(quiet)</span>
|
|
1548
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1549
|
-
</div>
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
<div class="method-description">
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
<div class="method-source-code" id="quiet-3D-source">
|
|
1559
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 67</span>
|
|
1560
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">quiet=</span><span class="ruby-identifier">quiet</span>
|
|
1561
|
-
<span class="ruby-ivar">@quiet</span> = <span class="ruby-identifier">quiet</span>
|
|
1562
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1563
|
-
</div><!-- quiet-3D-source -->
|
|
1564
|
-
|
|
1565
|
-
</div>
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
</div><!-- quiet-3D-method -->
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
<div id="method-i-quiet-3F" class="method-detail ">
|
|
1574
|
-
|
|
1575
|
-
<div class="method-heading">
|
|
1576
|
-
<span class="method-name">quiet?</span><span
|
|
1577
|
-
class="method-args">()</span>
|
|
1578
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1579
|
-
</div>
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
<div class="method-description">
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
<div class="method-source-code" id="quiet-3F-source">
|
|
1589
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 53</span>
|
|
1590
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">quiet?</span>
|
|
1591
|
-
<span class="ruby-ivar">@quiet</span>
|
|
1592
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1593
|
-
</div><!-- quiet-3F-source -->
|
|
1594
|
-
|
|
1595
|
-
</div>
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
</div><!-- quiet-3F-method -->
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
<div id="method-i-remove_plugin" class="method-detail ">
|
|
1604
|
-
|
|
1605
|
-
<div class="method-heading">
|
|
1606
|
-
<span class="method-name">remove_plugin</span><span
|
|
1607
|
-
class="method-args">()</span>
|
|
1608
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1609
|
-
</div>
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
<div class="method-description">
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
<div class="method-source-code" id="remove_plugin-source">
|
|
1619
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 46</span>
|
|
1620
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_plugin</span>
|
|
1621
|
-
<span class="ruby-comment"># Implement in sub classes if needed for cleanup</span>
|
|
1622
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1623
|
-
</div><!-- remove_plugin-source -->
|
|
1624
|
-
|
|
1625
|
-
</div>
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
</div><!-- remove_plugin-method -->
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
<div id="method-i-render" class="method-detail ">
|
|
1634
|
-
|
|
1635
|
-
<div class="method-heading">
|
|
1636
|
-
<span class="method-name">render</span><span
|
|
1637
|
-
class="method-args">(data, options = {})</span>
|
|
1638
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1639
|
-
</div>
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
<div class="method-description">
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
<div class="method-source-code" id="render-source">
|
|
1649
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 241</span>
|
|
1650
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">render</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">options</span> = {})
|
|
1651
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
1652
|
-
|
|
1653
|
-
<span class="ruby-keyword">if</span> <span class="ruby-operator">!</span> <span class="ruby-identifier">quiet?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">config</span>[<span class="ruby-value">:silent</span>]
|
|
1654
|
-
<span class="ruby-identifier">translator</span> = <span class="ruby-keyword">nil</span>
|
|
1655
|
-
<span class="ruby-identifier">translator</span> = <span class="ruby-constant">CORL</span>.<span class="ruby-identifier">translator</span>({}, <span class="ruby-identifier">config</span>[<span class="ruby-value">:format</span>]) <span class="ruby-keyword">if</span> <span class="ruby-identifier">config</span>[<span class="ruby-value">:format</span>]
|
|
1656
|
-
<span class="ruby-identifier">data</span> = <span class="ruby-identifier">translator</span>.<span class="ruby-identifier">generate</span>(<span class="ruby-identifier">data</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">translator</span>
|
|
1657
|
-
|
|
1658
|
-
<span class="ruby-identifier">ui</span>.<span class="ruby-identifier">dump</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">options</span>) <span class="ruby-keyword">unless</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">strip</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">config</span>[<span class="ruby-value">:silent</span>]
|
|
1659
|
-
<span class="ruby-keyword">end</span>
|
|
1660
|
-
<span class="ruby-identifier">data</span>
|
|
1661
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1662
|
-
</div><!-- render-source -->
|
|
1663
|
-
|
|
1664
|
-
</div>
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
</div><!-- render-method -->
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
<div id="method-i-safe_exec" class="method-detail ">
|
|
1673
|
-
|
|
1674
|
-
<div class="method-heading">
|
|
1675
|
-
<span class="method-name">safe_exec</span><span
|
|
1676
|
-
class="method-args">(return_result = true, &code)</span>
|
|
1677
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1678
|
-
</div>
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
<div class="method-description">
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
<div class="method-source-code" id="safe_exec-source">
|
|
1688
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 380</span>
|
|
1689
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">safe_exec</span>(<span class="ruby-identifier">return_result</span> = <span class="ruby-keyword">true</span>, &<span class="ruby-identifier">code</span>)
|
|
1690
|
-
<span class="ruby-keyword">begin</span>
|
|
1691
|
-
<span class="ruby-identifier">result</span> = <span class="ruby-identifier">code</span>.<span class="ruby-identifier">call</span>
|
|
1692
|
-
<span class="ruby-keyword">return</span> <span class="ruby-identifier">result</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">return_result</span>
|
|
1693
|
-
<span class="ruby-keyword">return</span> <span class="ruby-keyword">true</span>
|
|
1694
|
-
|
|
1695
|
-
<span class="ruby-keyword">rescue</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">error</span>
|
|
1696
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">error</span>(<span class="ruby-identifier">error</span>.<span class="ruby-identifier">inspect</span>)
|
|
1697
|
-
<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">error</span>(<span class="ruby-identifier">error</span>.<span class="ruby-identifier">message</span>)
|
|
1698
|
-
|
|
1699
|
-
<span class="ruby-identifier">error</span>(<span class="ruby-identifier">error</span>.<span class="ruby-identifier">message</span>, { <span class="ruby-value">:prefix</span> =<span class="ruby-operator">></span> <span class="ruby-keyword">false</span>, <span class="ruby-value">:i18n</span> =<span class="ruby-operator">></span> <span class="ruby-keyword">false</span> }) <span class="ruby-keyword">if</span> <span class="ruby-identifier">error</span>.<span class="ruby-identifier">message</span>
|
|
1700
|
-
<span class="ruby-keyword">end</span>
|
|
1701
|
-
<span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span>
|
|
1702
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1703
|
-
</div><!-- safe_exec-source -->
|
|
1704
|
-
|
|
1705
|
-
</div>
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
</div><!-- safe_exec-method -->
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
<div id="method-i-set_meta" class="method-detail ">
|
|
1714
|
-
|
|
1715
|
-
<div class="method-heading">
|
|
1716
|
-
<span class="method-name">set_meta</span><span
|
|
1717
|
-
class="method-args">(meta)</span>
|
|
1718
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1719
|
-
</div>
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
<div class="method-description">
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
<div class="method-source-code" id="set_meta-source">
|
|
1729
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 79</span>
|
|
1730
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">set_meta</span>(<span class="ruby-identifier">meta</span>)
|
|
1731
|
-
<span class="ruby-ivar">@meta</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">meta</span>)
|
|
1732
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1733
|
-
</div><!-- set_meta-source -->
|
|
1734
|
-
|
|
1735
|
-
</div>
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
</div><!-- set_meta-method -->
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
<div id="method-i-status" class="method-detail ">
|
|
1744
|
-
|
|
1745
|
-
<div class="method-heading">
|
|
1746
|
-
<span class="method-name">status</span><span
|
|
1747
|
-
class="method-args">()</span>
|
|
1748
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1749
|
-
</div>
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
<div class="method-description">
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
<div class="method-source-code" id="status-source">
|
|
1759
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 156</span>
|
|
1760
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">status</span>
|
|
1761
|
-
<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">get</span>(<span class="ruby-value">:status</span>, <span class="ruby-identifier">code</span>.<span class="ruby-identifier">unknown_status</span>)
|
|
1762
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1763
|
-
</div><!-- status-source -->
|
|
1764
|
-
|
|
1765
|
-
</div>
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
</div><!-- status-method -->
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
<div id="method-i-status-3D" class="method-detail ">
|
|
1774
|
-
|
|
1775
|
-
<div class="method-heading">
|
|
1776
|
-
<span class="method-name">status=</span><span
|
|
1777
|
-
class="method-args">(status)</span>
|
|
1778
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1779
|
-
</div>
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
<div class="method-description">
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
<div class="method-source-code" id="status-3D-source">
|
|
1789
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 152</span>
|
|
1790
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">status=</span><span class="ruby-identifier">status</span>
|
|
1791
|
-
<span class="ruby-identifier">meta</span>.<span class="ruby-identifier">set</span>(<span class="ruby-value">:status</span>, <span class="ruby-identifier">status</span>)
|
|
1792
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1793
|
-
</div><!-- status-3D-source -->
|
|
1794
|
-
|
|
1795
|
-
</div>
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
</div><!-- status-3D-method -->
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
<div id="method-i-success" class="method-detail ">
|
|
1804
|
-
|
|
1805
|
-
<div class="method-heading">
|
|
1806
|
-
<span class="method-name">success</span><span
|
|
1807
|
-
class="method-args">(message, options = {})</span>
|
|
1808
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1809
|
-
</div>
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
<div class="method-description">
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
<div class="method-source-code" id="success-source">
|
|
1819
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 292</span>
|
|
1820
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">success</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">options</span> = {})
|
|
1821
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
1822
|
-
|
|
1823
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">quiet?</span>
|
|
1824
|
-
<span class="ruby-identifier">message</span> = <span class="ruby-identifier">render_message</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">config</span>)
|
|
1825
|
-
<span class="ruby-identifier">ui</span>.<span class="ruby-identifier">success</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">config</span>.<span class="ruby-identifier">export</span>)
|
|
1826
|
-
<span class="ruby-keyword">end</span>
|
|
1827
|
-
<span class="ruby-identifier">message</span>
|
|
1828
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1829
|
-
</div><!-- success-source -->
|
|
1830
|
-
|
|
1831
|
-
</div>
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
</div><!-- success-method -->
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
<div id="method-i-translate_reference" class="method-detail ">
|
|
1840
|
-
|
|
1841
|
-
<div class="method-heading">
|
|
1842
|
-
<span class="method-name">translate_reference</span><span
|
|
1843
|
-
class="method-args">(reference, editable = false)</span>
|
|
1844
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1845
|
-
</div>
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
<div class="method-description">
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
<div class="method-source-code" id="translate_reference-source">
|
|
1855
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 360</span>
|
|
1856
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">translate_reference</span>(<span class="ruby-identifier">reference</span>, <span class="ruby-identifier">editable</span> = <span class="ruby-keyword">false</span>)
|
|
1857
|
-
<span class="ruby-identifier">myself</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">translate_reference</span>(<span class="ruby-identifier">reference</span>, <span class="ruby-identifier">editable</span>)
|
|
1858
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1859
|
-
</div><!-- translate_reference-source -->
|
|
1860
|
-
|
|
1861
|
-
</div>
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
</div><!-- translate_reference-method -->
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
<div id="method-i-warn" class="method-detail ">
|
|
1870
|
-
|
|
1871
|
-
<div class="method-heading">
|
|
1872
|
-
<span class="method-name">warn</span><span
|
|
1873
|
-
class="method-args">(message, options = {})</span>
|
|
1874
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1875
|
-
</div>
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
<div class="method-description">
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
<div class="method-source-code" id="warn-source">
|
|
1885
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 268</span>
|
|
1886
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">warn</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">options</span> = {})
|
|
1887
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
1888
|
-
|
|
1889
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-identifier">quiet?</span>
|
|
1890
|
-
<span class="ruby-identifier">message</span> = <span class="ruby-identifier">render_message</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">config</span>)
|
|
1891
|
-
<span class="ruby-identifier">ui</span>.<span class="ruby-identifier">warn</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">config</span>.<span class="ruby-identifier">export</span>)
|
|
1892
|
-
<span class="ruby-keyword">end</span>
|
|
1893
|
-
<span class="ruby-identifier">message</span>
|
|
1894
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1895
|
-
</div><!-- warn-source -->
|
|
1896
|
-
|
|
1897
|
-
</div>
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
</div><!-- warn-method -->
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
</section><!-- public-instance-method-details -->
|
|
1906
|
-
|
|
1907
|
-
<section id="protected-instance-5Buntitled-5D-method-details" class="method-section section">
|
|
1908
|
-
<h3 class="section-header">Protected Instance Methods</h3>
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
<div id="method-i-render_message" class="method-detail ">
|
|
1912
|
-
|
|
1913
|
-
<div class="method-heading">
|
|
1914
|
-
<span class="method-name">render_message</span><span
|
|
1915
|
-
class="method-args">(message, options = {})</span>
|
|
1916
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1917
|
-
</div>
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
<div class="method-description">
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
<div class="method-source-code" id="render_message-source">
|
|
1927
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 229</span>
|
|
1928
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">render_message</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">options</span> = {})
|
|
1929
|
-
<span class="ruby-identifier">config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>)
|
|
1930
|
-
|
|
1931
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">config</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:i18n</span>, <span class="ruby-keyword">true</span>)
|
|
1932
|
-
<span class="ruby-identifier">message</span> = <span class="ruby-constant">I18n</span>.<span class="ruby-identifier">t</span>(<span class="ruby-identifier">message</span>, <span class="ruby-constant">Util</span><span class="ruby-operator">::</span><span class="ruby-constant">Data</span>.<span class="ruby-identifier">merge</span>([ <span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">render_options</span>).<span class="ruby-identifier">export</span>, <span class="ruby-identifier">config</span>.<span class="ruby-identifier">export</span> ], <span class="ruby-keyword">true</span>))
|
|
1933
|
-
<span class="ruby-keyword">end</span>
|
|
1934
|
-
<span class="ruby-identifier">message</span>
|
|
1935
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1936
|
-
</div><!-- render_message-source -->
|
|
1937
|
-
|
|
1938
|
-
</div>
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
</div><!-- render_message-method -->
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
<div id="method-i-render_options" class="method-detail ">
|
|
1947
|
-
|
|
1948
|
-
<div class="method-heading">
|
|
1949
|
-
<span class="method-name">render_options</span><span
|
|
1950
|
-
class="method-args">()</span>
|
|
1951
|
-
<span class="method-click-advice">click to toggle source</span>
|
|
1952
|
-
</div>
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
<div class="method-description">
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
<div class="method-source-code" id="render_options-source">
|
|
1962
|
-
<pre><span class="ruby-comment"># File lib/core/plugin/base.rb, line 222</span>
|
|
1963
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">render_options</span>
|
|
1964
|
-
<span class="ruby-identifier">export</span>
|
|
1965
|
-
<span class="ruby-keyword">end</span></pre>
|
|
1966
|
-
</div><!-- render_options-source -->
|
|
1967
|
-
|
|
1968
|
-
</div>
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
</div><!-- render_options-method -->
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
</section><!-- protected-instance-method-details -->
|
|
1977
|
-
|
|
1978
|
-
</section><!-- 5Buntitled-5D -->
|
|
1979
|
-
|
|
1980
|
-
</div><!-- documentation -->
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
<footer id="validator-badges">
|
|
1984
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
|
1985
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
|
|
1986
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
|
1987
|
-
</footer>
|
|
1988
|
-
|