CODES
NEW
ADD
SaveCode.net
Ranking
Extension
file listing and copying between directories
Home
/
Codes
/
ruby
1
File listing and copying between directories
Copy
ruby
file
Favourite
Share
By
Melba Dibbert
at May 21 2022
Related code examples
Ruby difference between for and .each
difference between is_a and kind_of ruby
clean rails tmp file,log file and others file.then tar it!
Open a text file and re-write its contents into a new text file
Match text between asterisks
Get string between two strings
ruby get substring between two characters
rails pass variable between controller methods
Strip characters from between two delimiters
ruby file extension
ruby read file
Render file (no html)
get and to rails
ASCII and characters
generate a mysql BETWEEN clause to find within a date range
DEPRECATION WARNING: render file: should be given the absolute path to a file
ruby open file nokogiri
rails call env file
mustache file if condition
Ruby: File Path Basics
Write a file in Ruby
File copy in ruby
YAML Config File Example
ruby and ruby ee
Upload and resize with RMagick
ruby check if a file exists
read xls file in ruby
ruby remove unsafe file characters
A Ruby write to file example
how to upload a file in capybara spec
load file in terminal ruby
Seeding database from .XLS file
Ruby script to save a string to a file.
lazyload ruby and rails extensions
Ruby CSV writing and reading example with quotes, line breaks and commas in the fields
get directory of current file ruby
rails api only with postgress and rspec
ruby remove whitespace beginning and end
replace quotes & trim (left and right)
execute command and get cmd results
TextMate bundle searching and pasting code
gem file permission error for ubuntu rails
chunk - break a large XML file into manageable chunks
Ruby: Reading from Files + File Class Methods
Simple File Upload to Amazon S3 From Ruby
ruby create engine using rspec and dummy
rails server set default port and ip
Defining the instance and class methods using define_method
Scan and Require Ruby Files in Directory
What version of Ruby and Rails is this using?
Capistrano: Create symlink for the database config YML file
ruby try catch variable and assign nil value
how to differentiate get and post when it has same name in rails
pg_ctl: no database directory specified and environment variable PGDATA unset
Ruby class and instance variables lifecycle across inheritance demo
Ruby Metaprogramming - Subclass a Method with Before/After Callbacks and alias_method
Create and set instance variables from method parameters / arguments
Ruby Ferret Simple Indexing And Search Example Part 2
Ruby Ferret simple indexing and search example part 1
Use regex to match a Ruby substring, and reference it like an index
Locate and play mp3 files with given pattern in path
Ruby / Rails - example of if then statement... in a view file *.html.erb:
parse URI object, and fetch response from it, in one step
list directory and create wget calls to build standalone html dirs
Sending Apple Mail with Ruby and rb-appscript instead of Applescript
Search for remote gems from command line and view detailed results in textmate
Retrieve City, State, and Zip info from Google Geocoding service, by passing in a Zipcode
Recurse directory tree and count pages in all pdf files using pdf-reader gem
Execute an instance method of Object and call in its block instance methods of another object
ruby how to print
how to update mac to current ruby version
ruby generate random number
how to kill server
rbenv switch ruby version
sort hash ruby
how to check if data is an array or not ruby
ruby select
contains ruby array
remove nil in array ruby
ruby write to csv
Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib ruby
rails add reference
what is ruby language used for
ruby get the first element of an array
ruby sort method
ruby array of symbols shorthand
array ruby
ruby hash except nested
ruby memory location
Ruby ruby-2.6.3 is present on the following stacks: heroku 16
CreateShippingAddresses in ruby
ruby sqlite
.where ruby
height of a tree in ruby
hash.slice ruby
ruby print line break
ruby permutation
ruby division floating decimal
ruby raise error
print in ruby
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1