Class: CfScript::Scope::Space

Inherits:
Target show all
Defined in:
lib/cf_script/scope/space.rb

Constant Summary

Constants included from UI

UI::COLORS, UI::EMOJI, UI::TAGS

Instance Method Summary collapse

Methods inherited from Target

#app, #apps, #current_org, #current_space, #space, #target

Methods inherited from Base

#finalize, #method_missing, #spec_for

Methods included from UI

alert, call_type, debug, detail, emoji, emoji_for, error, info, print_err, print_out, progress, puts_err, puts_out, step, success, tag_char, tag_close, tag_color, tag_format, tag_open, tag_style, title, trace, ui_format, with_color_of

Methods included from Execution

exec_in

Constructor Details

#initialize(space_name = nil) ⇒ Space

Returns a new instance of Space.



3
4
5
6
7
# File 'lib/cf_script/scope/space.rb', line 3

def initialize(space_name = nil)
  super()

  target(space_name) if space_name
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CfScript::Scope::Base