Module: WpTheme::Versionable

Included in:
WpTheme
Defined in:
lib/common/models/wp_theme/versionable.rb

Instance Method Summary collapse

Instance Method Details

#versionObject


5
6
7
# File 'lib/common/models/wp_theme/versionable.rb', line 5

def version
  @version ||= Browser.get(style_url).body[%r{Version:\s*([^\s]+)}i, 1]
end