Skip to content

Commit

Permalink
update style
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Dec 24, 2016
1 parent 1444727 commit 7f76125
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cache: bundler
language: ruby

rvm:
- 2.3.0
- 2.3.3
- 2.2.4
- 2.2.0
- 2.1.8
Expand Down
9 changes: 6 additions & 3 deletions lib/base58_gmp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,11 @@ def self.md5_base58(data, alphabet = DEFAULT_ALPHABET, opts = {})
end

class << self
alias :encode, :integer_to_base58
alias :decode, :base58_to_integer
alias :md5, :md5_base58
alias encode integer_to_base58
alias decode base58_to_integer
alias md5 md5_base58
#alias :encode, :integer_to_base58
#alias :decode, :base58_to_integer
#alias :md5, :md5_base58
end
end

0 comments on commit 7f76125

Please sign in to comment.