Sha256: c80205cba0687ddf4908808ebcbcaf62bad67517747c37a1e5eee74889a7fab4

Contents?: true

Size: 231 Bytes

Versions: 7

Compression:

Stored size: 231 Bytes

Contents

module SimpleRoles
  module Macros
    def simple_roles &block
      SimpleRoles.config.instance_exec(SimpleRoles.config, &block) if block
      SimpleRoles.package self
    end
  end
end

Module.send :include, SimpleRoles::Macros

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simple_roles-0.0.12 lib/simple_roles/macros.rb
simple_roles-0.0.11 lib/simple_roles/macros.rb
simple_roles-0.0.10 lib/simple_roles/macros.rb
simple_roles-0.0.9 lib/simple_roles/macros.rb
simple_roles-0.0.8 lib/simple_roles/macros.rb
simple_roles-0.0.7 lib/simple_roles/macros.rb
simple_roles-0.0.6 lib/simple_roles/macros.rb