Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
refactored some classes, grouped methods into modules
Browse files Browse the repository at this point in the history
  • Loading branch information
slowjack2k committed Jan 28, 2014
1 parent 1161f50 commit 6543aa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/yaoc/object_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Yaoc
module MapperDSLMethods
def add_mapping(&block)
instance_eval &block
apply_commands
apply_commands!
end

def rule(to: nil, from: to, converter: nil,
Expand Down Expand Up @@ -80,7 +80,7 @@ def reverse_converter(fetch_able=nil)

protected

def apply_commands
def apply_commands!
converter_builder.apply_commands!
reverse_converter_builder.apply_commands!
end
Expand Down

0 comments on commit 6543aa2

Please sign in to comment.