class ReVIEW::Retrovert::ReViewCompat
Public Class Methods
Catalog(path)
click to toggle source
# File lib/review/retrovert/reviewcompat.rb, line 50 def Catalog(path) ReVIEW::Catalog.new(File.open(path)) end
Preprocessor(param)
click to toggle source
# File lib/review/retrovert/reviewcompat.rb, line 46 def Preprocessor(param) Preprocessor.new(param) end
has_bou()
click to toggle source
# File lib/review/retrovert/reviewcompat.rb, line 42 def has_bou() Gem::Version.new(ReVIEW::VERSION) >= Gem::Version.new('3.2.0') end
has_nested_minicolumn()
click to toggle source
# File lib/review/retrovert/reviewcompat.rb, line 29 def has_nested_minicolumn() Gem::Version.new(ReVIEW::VERSION) >= Gem::Version.new('5.0.0') end
is_allow_empty_image_caption()
click to toggle source
# File lib/review/retrovert/reviewcompat.rb, line 37 def is_allow_empty_image_caption() v = Gem::Version.new(ReVIEW::VERSION) v < Gem::Version.new('4.0.0') || v >= Gem::Version.new('5.1.0') end
is_need_space_term_list()
click to toggle source
# File lib/review/retrovert/reviewcompat.rb, line 33 def is_need_space_term_list() Gem::Version.new(ReVIEW::VERSION) >= Gem::Version.new('4.0.0') end