Method: Cfruby::Cfp_Stat#version
- Defined in:
- lib/libcfenjin/cfp_stat.rb
#version ⇒ Object
73 74 75 76 77 78 |
# File 'lib/libcfenjin/cfp_stat.rb', line 73 def version if @version and @version =~ /^(\d+\.\d+)/ return $1.to_f end 1.0 end |