Skip to content

Commit

Permalink
use better output also for to_s
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed May 24, 2016
1 parent db848b0 commit b412d1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/cfa/base_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ def inspect
"@false_value=#{@false_value.inspect}>"
end

# also have better to_s
alias_method :to_s, :inspect

private

def data
Expand Down

0 comments on commit b412d1f

Please sign in to comment.