Class: React::Component::Match
- Inherits:
-
Object
- Object
- React::Component::Match
show all
- Includes:
- Native::Wrapper
- Defined in:
- lib/react/component/match.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(prop, *args, &block) ⇒ Object
6
7
8
|
# File 'lib/react/component/match.rb', line 6
def method_missing(prop, *args, &block)
@native.JS[:params].JS[prop]
end
|
Instance Method Details
#is_exact ⇒ Object
10
11
12
|
# File 'lib/react/component/match.rb', line 10
def is_exact
@native.JS[:isExact]
end
|
#params ⇒ Object
14
15
16
|
# File 'lib/react/component/match.rb', line 14
def params
self
end
|
#path ⇒ Object
18
19
20
|
# File 'lib/react/component/match.rb', line 18
def path
@native.JS[:path]
end
|
#to_n ⇒ Object
26
27
28
|
# File 'lib/react/component/match.rb', line 26
def to_n
@native
end
|
#url ⇒ Object
22
23
24
|
# File 'lib/react/component/match.rb', line 22
def url
@native.JS[:url]
end
|