Module: Slashjoin
- Defined in:
- lib/slashjoin/uri.rb,
lib/slashjoin/class.rb,
lib/slashjoin/string.rb,
lib/slashjoin/nopatch.rb,
lib/slashjoin/version.rb,
lib/slashjoin/pathname.rb,
lib/slashjoin/use_pathname.rb
Defined Under Namespace
Modules: Pathname, String, URI
Constant Summary
collapse
- VERSION =
"0.0.2.2"
- @@no_patch =
false
- @@use_pathname =
false
Class Method Summary
collapse
Class Method Details
.already_loaded? ⇒ Boolean
35
36
37
|
# File 'lib/slashjoin/class.rb', line 35
def self.already_loaded?
loaded_classes.any?
end
|
.loaded_classes ⇒ Hash
30
31
32
|
# File 'lib/slashjoin/class.rb', line 30
def self.loaded_classes
@@loaded_classes ||= {}
end
|
8
9
10
11
|
# File 'lib/slashjoin/class.rb', line 8
def self.no_patch
@@no_patch = true
return self
end
|
.no_patch? ⇒ Boolean
14
15
16
|
# File 'lib/slashjoin/class.rb', line 14
def self.no_patch?
@@no_patch
end
|
40
41
42
43
|
# File 'lib/slashjoin/class.rb', line 40
def self.patching
require 'slashjoin/patching'
return self
end
|
19
20
21
22
|
# File 'lib/slashjoin/class.rb', line 19
def self.use_pathname
@@user_pathname = true
return self
end
|
.use_pathname? ⇒ Boolean
25
26
27
|
# File 'lib/slashjoin/class.rb', line 25
def self.use_pathname?
@@use_pathname
end
|