Module: DiscordWebHooks
- Defined in:
- lib/discord_webhooks.rb,
lib/discord_webhooks/embed.rb,
lib/discord_webhooks/message.rb
Defined Under Namespace
Constant Summary collapse
- @@files =
All gem files
["message.rb", "embed.rb"]
- @@exe =
All executables
[]
Class Method Summary collapse
Class Method Details
.executables ⇒ Object
9 10 11 |
# File 'lib/discord_webhooks.rb', line 9 def self.executables @@exe end |
.file_paths(relative: false) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/discord_webhooks.rb', line 13 def self.file_paths(relative:false) x = @@files.map do |f| "#{"lib/" unless relative}discord_webhooks/#{f}" end if relative return x else return x + ['lib/discord_webhooks.rb'] end end |
.version ⇒ Object
5 6 7 |
# File 'lib/discord_webhooks.rb', line 5 def self.version "0.0.1" end |