instance method turbo_native_app?

Ruby on Rails 1.5.0

Since v1.5.0 Last seen in v2.0.23

Available in: v1.5.0 v2.0.23

Signature

turbo_native_app?()

Turbo Native applications are identified by having the string “Turbo Native” as part of their user agent.

Source
# File app/controllers/turbo/native/navigation.rb, line 14
  def turbo_native_app?
    request.user_agent.to_s.match?(/Turbo Native/)
  end

Defined in app/controllers/turbo/native/navigation.rb line 14 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Turbo::Native::Navigation

Type at least 2 characters to search.

↑↓ navigate · open · esc close