Sha256: f04cc7179e1d0d7c3389bc823791b002adfd185115a409c0edd26d30dea1d618
Contents?: true
Size: 394 Bytes
Versions: 7
Compression:
Stored size: 394 Bytes
Contents
class Blade::Session < Blade::Model class << self def create(attributes) model = super model.test_results = Blade::TestResults.new(model.id) model end def combined_test_results Blade::CombinedTestResults.new(all) end end def to_s @to_s ||= "#{ua.browser} #{ua.version} #{ua.platform}" end private def ua user_agent end end
Version data entries
7 entries across 7 versions & 1 rubygems