Class: Capistrano::Configuration::Namespaces::Namespace

Class | Capistrano::Configuration::Namespaces::Namespace
In: | lib/capistrano/configuration/namespaces.rb lib/capistrano/configuration/namespaces.rb
Parent: | Object

### Methods

method_missing method_missing new new respond_to? respond_to? role role

### Included Modules

Capistrano::Configuration::Namespaces Capistrano::Configuration::Namespaces

### Public Class methods

new(name, parent)

[Source]

         # File lib/capistrano/configuration/namespaces.rb, line 171
    171:           def initialize(name, parent)
    172:             @parent = parent
    173:             @name = name
    174:           end

new(name, parent)

[Source]

         # File lib/capistrano/configuration/namespaces.rb, line 171
    171:           def initialize(name, parent)
    172:             @parent = parent
    173:             @name = name
    174:           end

### Public Instance methods

method_missing(sym, *args, &block)

[Source]

         # File lib/capistrano/configuration/namespaces.rb, line 184
    184:           def method_missing(sym, *args, &block)
    185:             if parent.respond_to?(sym)
    186:               parent.send(sym, *args, &block)
    187:             else
    188:               super
    189:             end
    190:           end

method_missing(sym, *args, &block)

[Source]

         # File lib/capistrano/configuration/namespaces.rb, line 184
    184:           def method_missing(sym, *args, &block)
    185:             if parent.respond_to?(sym)
    186:               parent.send(sym, *args, &block)
    187:             else
    188:               super
    189:             end
    190:           end

respond_to?(sym)

[Source]

         # File lib/capistrano/configuration/namespaces.rb, line 180
    180:           def respond_to?(sym)
    181:             super || parent.respond_to?(sym)
    182:           end

respond_to?(sym)

[Source]

         # File lib/capistrano/configuration/namespaces.rb, line 180
    180:           def respond_to?(sym)
    181:             super || parent.respond_to?(sym)
    182:           end

role(*args)

[Source]

         # File lib/capistrano/configuration/namespaces.rb, line 176
    176:           def role(*args)
    177:             raise NotImplementedError, "roles cannot be defined in a namespace"
    178:           end

role(*args)

[Source]

         # File lib/capistrano/configuration/namespaces.rb, line 176
    176:           def role(*args)
    177:             raise NotImplementedError, "roles cannot be defined in a namespace"
    178:           end

[Validate]