rspec Value
This commit is contained in:
1 parent
febf4a9f6d
commit
762b7c6413
2 files changed
+35
No files matched your search
@@ -1,6 +1,7 @@
|
||||
module Gnucash
|
||||
class Value
|
||||
attr_accessor :val
|
||||
|
||||
def initialize(val)
|
||||
if val.is_a?(String)
|
||||
if val =~ /^(-?\d+)\/100$/
|
||||
|
||||
Reference in new issue
Block a user