lib/remedy/size.rb in remedy-0.2.0 vs lib/remedy/size.rb in remedy-0.3.0
- old
+ new
@@ -37,15 +37,16 @@
end
true
end
def rows
- dimensions.first
+ dimensions[0]
end
def cols
dimensions[1]
end
+ alias :columns :cols
def [] index
dimensions[index]
end