fillson22_make_html 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/fillson22_make_html.rb +11 -0
- metadata +43 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dc685696c8376fc9f648e58f9c29848c71deb128267977efc3b9344cb9813aad
|
4
|
+
data.tar.gz: 308ce46e27b0a7051a5d0923971b779a31773dc00de9369fcc5c34fb6f0bc610
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fc385eab829ab2c97cc631c9294783ebc4ec6a27d84e17f8d5456f014fea80c2fca3a353d9dccac52c22cd8c0532c3495fbb072a5e610a5298513dbb58fca693
|
7
|
+
data.tar.gz: cabe5cbda215b520d8f751dcefcfc7dd84e0eb1d1f973bb2e274abfbe03cfdcbfb428fc785ace60cc77ee79e72d39c31510add6734fcb0e562814fd3cedefca3
|
@@ -0,0 +1,11 @@
|
|
1
|
+
def greate_file
|
2
|
+
fileHtml = File.open("index.html", "w+")
|
3
|
+
fileHtml.puts "<HTML><BODY>"
|
4
|
+
fileHtml.puts "<p> Имя - #{@name} </p>"
|
5
|
+
fileHtml.puts "<p> Сыт - #{@full} </p>"
|
6
|
+
fileHtml.puts "<p> Усталость - #{@fatigue} </p>"
|
7
|
+
fileHtml.puts "<p> Возраст - #{@age} </p>"
|
8
|
+
fileHtml.puts "<p> Здоровье - #{@health} </p>"
|
9
|
+
fileHtml.puts "</BODY></HTML>"
|
10
|
+
fileHtml.close()
|
11
|
+
end
|
metadata
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fillson22_make_html
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Iliya Filippov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-11-05 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email:
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/fillson22_make_html.rb
|
20
|
+
homepage: https://github.com/fillson22/RubyHW/HW3/Fillson22_make_html
|
21
|
+
licenses:
|
22
|
+
- MIT
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubygems_version: 3.3.5
|
40
|
+
signing_key:
|
41
|
+
specification_version: 4
|
42
|
+
summary: This gem great html-code with parametres of my file *.rb
|
43
|
+
test_files: []
|