Skip to content

Commit

Permalink
rename Fixnum to Integer (source code only, TODO in tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfillion committed Apr 18, 2017
1 parent 09531c3 commit d9d6dd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/slidefield/types.rb
Expand Up @@ -39,7 +39,7 @@ def filter_lines
end
end

class Fixnum
class Integer
def self.from_slice(slice)
slice.to_i
end
Expand Down
2 changes: 1 addition & 1 deletion lib/slidefield/variable.rb
Expand Up @@ -4,7 +4,7 @@ class SlideField::Variable < SlideField::Token
attr_reader :value, :location

KNOWN_TYPES = {
integer: Fixnum,
integer: Integer,
string: String,
boolean: SF::Boolean,
color: SF::Color,
Expand Down

0 comments on commit d9d6dd9

Please sign in to comment.