Module: SteelWheel::Composition::ClassMethods

Defined in:
lib/steel_wheel/composition.rb

Overview

rubocop:disable Style/Documentation

Instance Method Summary collapse

Instance Method Details

#part_of(owner_name) ⇒ Object



15
16
17
18
# File 'lib/steel_wheel/composition.rb', line 15

def part_of(owner_name)
  @owner_name = owner_name
  alias_method owner_name, :owner
end