Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
prawn /
[ HOME SHELL ]
Name
Size
Permission
Action
document
[ DIR ]
drwxr-xr-x
font
[ DIR ]
drwxr-xr-x
graphics
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
security
[ DIR ]
drwxr-xr-x
table
[ DIR ]
drwxr-xr-x
text
[ DIR ]
drwxr-xr-x
document.rb
23.32
KB
-rw-r--r--
encoding.rb
2.61
KB
-rw-r--r--
errors.rb
2.92
KB
-rw-r--r--
font.rb
13.46
KB
-rw-r--r--
font_metric_cache.rb
1.06
KB
-rw-r--r--
graphics.rb
19.4
KB
-rw-r--r--
grid.rb
6.44
KB
-rw-r--r--
image_handler.rb
896
B
-rw-r--r--
images.rb
6.42
KB
-rw-r--r--
measurement_extensions.rb
671
B
-rw-r--r--
measurements.rb
995
B
-rw-r--r--
outline.rb
11.32
KB
-rw-r--r--
repeater.rb
3.26
KB
-rw-r--r--
security.rb
10.4
KB
-rw-r--r--
soft_mask.rb
2.09
KB
-rw-r--r--
stamp.rb
4.43
KB
-rw-r--r--
table.rb
24.46
KB
-rw-r--r--
text.rb
16.76
KB
-rw-r--r--
transformation_stack.rb
1.13
KB
-rw-r--r--
utilities.rb
998
B
-rw-r--r--
version.rb
44
B
-rw-r--r--
view.rb
2.56
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : view.rb
# prawn/view.rb : Implements a mixin for Prawn's DSL # # This is free software. Please see the LICENSE and COPYING files for details. module Prawn # This mixin allows you to create modular Prawn code without the # need to create subclasses of Prawn::Document. # # class Greeter # include Prawn::View # # def initialize(name) # @name = name # end # # def say_hello # text "Hello, #{@name}!" # end # # def say_goodbye # font("Courier") do # text "Goodbye, #{@name}!" # end # end # end # # greeter = Greeter.new("Gregory") # # greeter.say_hello # greeter.say_goodbye # # greeter.save_as("greetings.pdf") # # The short story about why you should use this mixin rather than # creating subclasses of +Prawn::Document+ is that it helps # prevent accidental conflicts between your code and Prawn's # code. # # Here's the slightly longer story... # # By using composition rather than inheritance under the hood, this # mixin allows you to keep your state separate from +Prawn::Document+'s # state, and also will prevent unexpected method name collisions due # to late binding effects. # # This mixin is mostly meant for extending Prawn's functionality # with your own additions, but you can also use it to replace or # wrap existing Prawn methods. Calling +super+ will still work # as expected, and alternatively you can explictly call # +document.some_method+ to delegate to Prawn where needed. module View # @group Experimental API # Lazily instantiates a +Prawn::Document+ object. # # You can also redefine this method in your own classes to use # a custom document class. def document @document ||= Prawn::Document.new end # Delegates all unhandled calls to object returned by +document+ method. # (which is an instance of Prawn::Document by default) def method_missing(m, *a, &b) return super unless document.respond_to?(m) document.send(m, *a, &b) end def respond_to_missing? document.respond_to?(m) end # Syntactic sugar that uses +instance_eval+ under the hood to provide # a block-based DSL. # # greeter.update do # say_hello # say_goodbye # end # def update(&b) instance_eval(&b) end # Syntatic sugar that calls +document.render_file+ under the hood. # # greeter.save_as("greetings.pdf") def save_as(filename) document.render_file(filename) end end end
Close